Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

making mint work with mint.mydomain.com

I’m trying to update my .htaccess file so that when I go to mint.mydomain.com, i will see my mint install.

here is what I have:

RewriteCond %{HTTP_HOST} mint.mydomain.com
RewriteCond %{REQUEST_URI} !mint/
RewriteRule ^(.*)$ mint/$1 [L]

it works, except that it can’t seem to find the css file.. any suggestions!?!

drackett: If you go to mint.mydomain.com/app/styles/base.css does it give you a 404 error? Check that the file is uploaded and is readable.

vxnick
Minted
Posted on Feb 11, '07 at 12:45 pm

It might be worth removing the “mint/$1” part and changing it to “mint$1”, since I believe the “^(.*)$” regex will catch forward-slashes, so it might be redirecting to something like mint//

Shaun Inman
Mint/Pepper Developer
Posted on Feb 11, '07 at 06:34 pm

I wouldn’t recommend this method of setting up a subdomain. Because PHP is kept out of the loop, a number of $_SERVER variables will be inaccurate and Mint won’t be able to function correctly.

Noted, I’ll give up ;)

You must be logged in to reply. Login above or create an account