Is mod_rewrite enabled with x10 free hosting

Status
Not open for further replies.

usplayer

New Member
Messages
14
Reaction score
0
Points
1
I am not getting any css on my site and it may be due to using lightspeed to serve up the php files instead of apache.

I of course have no controll over this as i dont have root access. The issue may be that the server does not have mod_rewrite enabled. However when using lightspeed the mod_rewrite does not display on phpinfo() and the ony way to check it is some long drawn out htaccess file code and using CurL.

So i thought i would ask here, should it be enabled on a x10 server and/or how do i check it.

domain is http://www.davesdev.x10host.com/

thanks

UPDATE: so it appears by looking around that the lightspeed version of mod_rewrite is enabled but you must add RewriteBase / after the engine on like so.

Code:
RewriteEngine On
RewriteBase /

is this correct?
 
Last edited:

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
I use the following code for my site https://www.kolbys.net/ and it works:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
 
Status
Not open for further replies.
Top