htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Joomla 1.5.Exclude a directory Rewrite Rule
PostPosted: 30 Jul 2008 08:26 
Offline

Joined: 30 Jul 2008 08:05
Posts: 1
Hi

I need some advise as I have a joomla 1.5 site.
I also have a separate php application running in a directory /client-area.
I want to adjust the .htacess file so it will not rewrite the client area files.
As you can see I have added this line: RewriteRule ^/client-area(/.*)?$ - [L]
But it will not work it gives me 404 errors.
I would like the client-area to work like the administrator area, where no urls are rewite. Any ideas on the code below.


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/client-area(/.*)?$ - [L]
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB