Re: speaking url is not working inside subfolder

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

 



Hi,

On Wed, Jan 20, 2010 at 3:28 AM, J. Bakshi <joydeep@xxxxxxxxxxxxxxx> wrote:
> Dear list,
>
> 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]
>

You question is specific to TYPO3 and I believe you would get better
support on their list. We run a few TYPO3 site and use the following
rewrite rule to support what you refer to as "speaking urls".

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (\.html|/)$ /index.php

-- 
Follow me on Twitter, http://twitter.com/mdevraj

"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

---------------------------------------------------------------------
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