Bugs » Can not install with htaccess

added on Jul 8, 2007 by Paris
so i installed linkex easy on 2 sites but i get to the 3rd and and i load index.php and fill it out and it goes right
back to the index.php without installing. then i remember that my htaccess file has alot of stuff in it so i deleted it
and it installed fine. i put back my htaccess file and nothing works again. heres what my htaccess file looks like.


# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.mysite.com
AuthUserFile /www/virtual/name/www.mysite.com/_vti_pvt/service.pwd
AuthGroupFile /www/virtual/name/www.mysite.com/_vti_pvt/service.grp

ErrorDocument 404 http://www.mysite.com/

RewriteEngine on
RewriteCond %{THE_REQUEST} ^.*\/index\.php
RewriteRule ^(.*)index\.php$ http://www.mysite.com/$1 [R=301,L]

AddHandler server-parsed .htm
added on Jul 9, 2007 by v0id
hi,

it seems like your rewriting and LinkEX does not work that well togheter.
I would add this line to your .htaccess:
RewriteCond %{THE_REQUEST} !/linkex/ [NC]
replacing linkex with what dirname you have installed linkex into, leaving your rewrite rules something like this:

RewriteEngine on
RewriteCond %{THE_REQUEST} ^.*\/index\.php
RewriteCond %{THE_REQUEST} !/linkex/ [NC]
RewriteRule ^(.*)index\.php$ http://www.mysite.com/$1 [R=301,L]

Can I ask why you are using that rewrite?

- v0id
added on Jul 9, 2007 by Paris
thanks void, that worked

i think its the rewrite to stop google from penalizing for duplicate content on
http://www.mysite.com/index.php and http://www.mysite.com and http://mysite.com
thats 3 different pages but with the same content on them and dont forget the 4th one is the ip address!!

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.