0
votes
1answer
221 views

Mod rewrite subdomains based on query string

I gave localhost an alias: 'myhost'. Entering 'myhost' in my address bar shows me /var/www/index.php. So far so good. Set up an apache virtual host on /var/www and called it 'myhost', then added three ...
0
votes
4answers
2k views

.htaccess working on remote server but does not work on localhost. Getting 404 errors on localhost

MY PROBLEM: When I visit localhost the site does not work. It shows some text from the site but it seems the server can not locate any other files. Here is a snippet of the errors from firebug: ...
0
votes
0answers
234 views

Automatic subdomains on local dev machine

I have working localhost on my Fedora 15. Directory tree look like this /var/www/html/default /var/www/html/projects /projects/foo /projects/bar /var/www/html/devel ...
0
votes
1answer
517 views

Resolve local subdomain on apache for paths within user dir

On Apache 2.2.x I've activated mod_userdir. I used the default setup, so that http://localhost/~name/ will be connect with ~name/public_html/ and a path within public_html, e.g. ...