speaking url is not working inside subfolder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear list,

I like to utilize my hosting space with multiple domains. one of these
domain is for typo3 sites. So I have created folders inside
public_html to have individual site. I am using .htaccess to redirect
the domain to its concerned subfolder.  There is a folder called TYPO3
inside which the typo3 installation is located. For typo3 sites I have
the following in .htaccess

` ` `
Options +FollowSymLinks
RewriteEngine on

# domain for typo3

RewriteCond %{HTTP_HOST} ^(www.)domain.in$
RewriteCond %{REQUEST_URI} !^/TYPO3/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ /TYPO3/$1
RewriteCond %{HTTP_HOST} ^(www.)domain.in$
RewriteRule ^(/)?$ TYPO3/index.php [L]

` ` `

The .htccess successfully redirects the concerned domain into the
sub-folder (TYPO3) . But the problem is with speaking url. Clicking on any
links always and always goes to the very first page. 

If I place the typo3 installation directly at public_html without domain-to-subfolder
redirection it works perfectly well. Am I missing something which prevents speaking url in subfolder ?

Thanks 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux