.htaccess and mod_rewrite

Status
Not open for further replies.

viperfx

New Member
Messages
7
Reaction score
0
Points
0
Hi mod_rewrite does not seem to wrk on my site.

http://viperfx.x10hosting.com/

.htaccess file
RewriteEngine on

RewriteRule /action/(.*)\.html ?action=$1
RewriteRule /action/(.*)/user/(.*)\.html ?action=$1&user=$2
RewriteRule /action/(.*)/page/(.*)\.html ?action=$1&page=$2
RewriteRule /action/(.*)/page/(.*)/msgid/(.*)/ ?action=$1&page=$2&msgid=$3

could you help me solve the problem please.....

btw great service, i did leave x10hosting because of this exact problem, i managed to get it all working, but then it went down again, so i just gave up....

i hope you can fix it this time.
 

Starshine

Legend Killer
Messages
14,423
Reaction score
0
Points
0
I have to ask, so please forgive me if you already have ( but I would assume you would of stated if you have )

1. Have you upgraded your PHP version in your Account Management Panel?
 

Sharky

Community Paragon
Community Support
Messages
4,399
Reaction score
94
Points
48
Would PHP have an effect on this .htaccess function?
 

viperfx

New Member
Messages
7
Reaction score
0
Points
0
well for some reason i cannot access my control panel it says theres an error

more precisely

An Error Has Occurred
Whoops, an error occurred retrieving your account's data from our system. Please try your request again in a few moments.
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
You should be able to access your account panel now.

Mod_Rewrite does work on accounts, if you just just turn the engine on with nothing below does it still error?
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
I just tested it on your account and it works fine, check your syntax that you're using.

The URL you listed above won't work because your rule has multiple matches that it has to make, just /graphics, doesn't match any of your rules. Also you needed to remove the / from the beginning of your rules. (I did this).

-Corey
 
Status
Not open for further replies.
Top