Free To Feel

Heading to entrepreneur.


Joshua Chi
Github

Fighting with subdomain problem in Lunarpages

HostROOT -

|- .htaccess(A)

|--------------- |-subdirectory

|--------------- -----------|- .htaccess(B)

My host domain - http://www.example.com

My sub domain - http://subdomain.example.com

Don't forget to add a .htaccess file for your subdirectory and add the following content into it.

.htaccess(B) <IfModule mod_rewrite.c> RewriteEngine on RewriteBase /subdirectory/ </IfModule>

It worked as true. When I recall the process I fight with the

Reference:http://bakery.cakephp.org/articles/view/mod-rewrite-on-godaddy-shared-hosting

comments powered by Disqus