httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Bakshi" <>
Subject [users@httpd] speaking url is not working inside subfolder
Date Tue, 19 Jan 2010 16:28:19 GMT
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.)$
RewriteCond %{REQUEST_URI} !^/TYPO3/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ /TYPO3/$1
RewriteCond %{HTTP_HOST} ^(www.)$
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 ?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message