Forum Moderators: phranque

Message Too Old, No Replies

.htaccess problem

         

mpsomas

2:03 pm on Jan 3, 2008 (gmt 0)

10+ Year Member



i have a web site by another company and i have a problem with .htaccess this company has the following .htaccess
# -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.example.gr
AuthUserFile /home/example/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/example/public_html/_vti_pvt/service.grp

RewriteEngine on
RewriteRule .*\.(chat)$ http://www.example.gr/chat/chat.html [R,NC]

i change the AuthUserFile && AuthGroupFile the path but is doing nothing i have the same problem

Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration

can anyone help me?

[edited by: jatar_k at 2:35 pm (utc) on Jan. 3, 2008]

[edited by: jdMorgan at 2:45 pm (utc) on Jan. 3, 2008]
[edit reason] please use example.tld [/edit]

vincevincevince

2:06 pm on Jan 3, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The error message is quite helpful there; you need to edit your server configuration to include mod_rewrite. Look in httpd.conf for that, then restart apache.

mpsomas

2:11 pm on Jan 3, 2008 (gmt 0)

10+ Year Member



how i will make this?

mpsomas

2:14 pm on Jan 3, 2008 (gmt 0)

10+ Year Member



ok i remove the # so now have error "cannot add the module via name...