cancel
Showing results for 
Search instead for 
Did you mean: 

mod_rewrite on ccgi

N/A

mod_rewrite on ccgi

I would like to host a domain (peaceblog.org) on a subfolder of my cgi space (/blog) but can't get the following code to work. is mod_rewrite supported and is my code correct?

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?peaceblog.org$ [NC]
RewriteCond %{REQUEST_URI} !^/blog/.*$
RewriteRule ^/?(.*)$ /blog/$1

Thanks

Chris
2 REPLIES
Community Veteran
Posts: 14,469
Registered: 30-07-2007

mod_rewrite on ccgi

Please do a search for mod_rewrite, this was discussed last week.
N/A

mod_rewrite on ccgi

Perhaps this thread will help you?

This one is now locked to prevent confusion.