Actually, your question shows a flaw in your setup :
You want http://127.0.0.1/MySite point to a specific directory, for example /var/www/MySite .
It follows that
http://127.0.0.1/ points to /var/www/ and thathttp://127.0.0.1/stylesheets points to /var/www/stylesheets .
But you want http://127.0.0.1/stylesheets point to a subdirectory, say /var/www/MySite/stylesheets.
It is possible, but probably not very wise.
Workarounds:
- Add an alias for / stylesheets to
/var/www/MySite/stylesheets - Install DocumentRoot on
/var/www/MySite and go to the site using http://127.0.0.1 - virtual domains
- Rewrite rules
source share