Home
Login | Register
Welcome, Guest
Please Login or Register.    Lost Password?

Doesnt work with a Redirect in my root
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Doesnt work with a Redirect in my root
#436
Doesnt work with a Redirect in my root 2 Years, 2 Months ago Karma: 0
Hi this is probably a bug in my .htaccess file because without the .htaccess in the root my jsecure works fine. All I need to do in the .htaccess file is redirect to my joomla directory. Here is the file:
-----------
RewriteEngine on
<IfModule mod_php5.c>
# mod_suPHP is active - php.ini overrides must be within these tags or in your local php.ini
</IfModule>
RewriteCond %{HTTP_HOST} ^site.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.site.com$
RewriteRule ^.*$ "http\:\/\/www\.site\.com\/home\/" [R=301,L]
------------
When I hit site.com/home/administrator/?secret with this .htaccess it redirects me to my index (even when i tell jsecure plugin to use custom 404).

Any advise about what I'm doing wrong would be greatly appreciated.

Regards,
Steve
unmortal
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1