evonet123 Posted October 9, 2008 Share Posted October 9, 2008 I have a website hosted on Fasthosts Linux servers. I am new to using .htaccess to do url rewrites and have been getting a recurring problem that is intimitent. The problem is that now and then the images do not load, or the style sheet doesnt load, or the whole page doesnt load giving a 404 error (This applies to any page on the server). I am not 100% sure if this is due to the .htaccess file or FASTHOSTS servers, because we have never had any issues with their windows servers. We previously had this issue with another website on one of their linux servers (which i just checked and its the same server) which had more rewrite rules than this project. FASTHOSTS cant work out why its happening and we are stuck in a rut. The htaccess files content is just the following: RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?id=$1 [NC] The rule above simply allows people to view others profile by typing /username after the web address. Example: http://www.muslimmarryme.com/azad If you go to the site and browse around you may come across the problem. If anyone can shed some light on this it would be very helpful. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.