redirect main domain only on shared hosting

Using a single web hosting account to host multiple sites

Postby benoka » Sun Nov 08, 2009 1:28 am

ok, one more question: how can I add one more folder?
I would like to reach but this is not possible with currently setup htaccess as it only allows to reach the images folder for the external blog (as i requested earlier, so that's ok)
can you help?
Posts: 23
Joined: Fri Jun 19, 2009 9:23 am

Postby benoka » Thu Nov 12, 2009 7:23 am

it seems i could solve it myself: i needed to access the /stats folder (cannot modify .htaccess there unfortunately) on my main domain so i was looking for a solution to include that into my .htaccess somehow beside the /images folder but it just didn't work. i then tried something and it allowed me to access the /stats folder, disallowed to list the /images folder and still (most important) displayed the images i linked from my main domain on my exetrnal blog:

Code: Select all
Options +FollowSymLinks

RewriteEngine on

RewriteCond %{REQUEST_URI} !^/stats
RewriteRule (.*)$1 [R=301,L]
Posts: 23
Joined: Fri Jun 19, 2009 9:23 am


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 2 guests