jayar
New Member
- Messages
- 1
- Reaction score
- 0
- Points
- 0
I am using my framework which ussually have these lines on my .htaccess file
RewriteEngine on
RewriteBase /
RewriteCond %{QUERY_STRING} !mod= [NC]
RewriteRule ^([^/]+)$ /index.php?mod=$1 [L]
Im not sure why it is not working on the server.
Basically this entry is hiding the GET parameter "mod" and pass it to index.php
www.domain.com/page is actually www.domain.com/index.php?mod=page
This is surely working for other servers like hostgator, gandi and OVH.
BTW: this is my page http://jayar.x10hosting.com/
Error_logs
[Wed Jan 13 23:47:19 2010] [error] [client 66.249.71.6] File does not exist: /home/jayar/public_html/login
[Wed Jan 13 23:47:19 2010] [error] [client 67.227.143.212] File does not exist: /home/jayar/public_html/login
The rewriting is not working then right?
.
RewriteEngine on
RewriteBase /
RewriteCond %{QUERY_STRING} !mod= [NC]
RewriteRule ^([^/]+)$ /index.php?mod=$1 [L]
Im not sure why it is not working on the server.
Basically this entry is hiding the GET parameter "mod" and pass it to index.php
www.domain.com/page is actually www.domain.com/index.php?mod=page
This is surely working for other servers like hostgator, gandi and OVH.
BTW: this is my page http://jayar.x10hosting.com/
Error_logs
[Wed Jan 13 23:47:19 2010] [error] [client 66.249.71.6] File does not exist: /home/jayar/public_html/login
[Wed Jan 13 23:47:19 2010] [error] [client 67.227.143.212] File does not exist: /home/jayar/public_html/login
The rewriting is not working then right?
.
Last edited: