[SOLVED] problem with index.php

dennylex

Joined: 2012-08-06
Posts: 2
Posted: Mon, 2012-08-06 23:29

hy i cant get rid of the index.php

want my site like
http://dennylex.com/admin

and not
http://dennylex.com/index.php/admin

i tryed with .htacces but no result

# <IfModule mod_rewrite.c>
# Options +FollowSymLinks
# RewriteEngine On
# RewriteBase /
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
# RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
# RewriteRule ^index.php/(.*) $1 [QSA,R,L]
#
# </IfModule>

what to change here

thx for help

 
mattdm

Joined: 2005-07-22
Posts: 181
Posted: Mon, 2012-08-06 23:33

Take out the # at the beginning of lines. That signifies a comment -- a line with no effect.

 
dennylex

Joined: 2012-08-06
Posts: 2
Posted: Mon, 2012-08-06 23:37

it works perfect

thank you mattdm :))))

 
inpulse
inpulse's picture

Joined: 2009-08-02
Posts: 38
Posted: Tue, 2012-09-11 00:52

I am having the same problem, but my .htaccess file doesn't have the #.

Hopefully I am viewing the right area in the file: the one near the bottom?

 
inpulse
inpulse's picture

Joined: 2009-08-02
Posts: 38
Posted: Tue, 2012-09-11 02:30

Nevermind. I didn't have the main Gallery Directory listed after RewriteBase.