Mod_rewrite Disabled???

Status
Not open for further replies.

cursed

New Member
Messages
14
Reaction score
0
Points
0
The new server has mod_rewrite disabled, can you guys fix it??
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,818
Reaction score
163
Points
63
You're not on a new server, you're on chopin..

Are you using mod_rewrite properly?

You do have to declare that you want to have it enabled in .htaccess.

Code:
RewriteEngine On
#
#Code here
#
 
Last edited:

cursed

New Member
Messages
14
Reaction score
0
Points
0
The Content of my .htaccess:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html


# -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 towfiqi.x10hosting.com
AuthUserFile /home/towfiqi/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/towfiqi/public_html/_vti_pvt/service.grp

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
RewriteBase /

belongs at the top of the file, before those first RewriteCond s
Also, try capitalizing the 'o' in your first "RewriteEngine on"

But, you don't say what is wrong. ie, what is "supposed" to happen and what "does" happen when you use a specific (ie, give us one) URL .
 
Last edited:

cursed

New Member
Messages
14
Reaction score
0
Points
0
thanks for your help! didnt solve it. I think its some other issue.
 
Status
Not open for further replies.
Top