one domain using multiple website folders

New to mod_rewrite? This is a good place to start.

one domain using multiple website folders

Postby GroundLoop » Sun Sep 09, 2012 6:39 pm

I want to allow to use folder c:\wamp\abc and use folder c:\wamp\abbcblog. I found some sample code using Alias but it did not work. I need to use a port redirect - which works fine by itself. Is the port redirect causing a problem for the Alias? All the Alias code I added is bolded.
RewriteEngine on
RewriteRule ^(.*)$
ErrorLog logs/
CustomLog logs/ common

Alias /blog C:\wamp\www\test\blog
<Directory C:\wamp\www\test\blog>
Options All
AllowOverride All
order allow,deny
allow from all


Thank you in advance.
Posts: 6
Joined: Tue Jul 14, 2009 6:45 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 6 guests