-
- 36 Posts
could somebody please hlep?
-
- 1,611 Posts
Well if you have an account on a shared server then you probably don’t have access to the httpd.conf setting file. So you need to make sure that your host allows .htaccess files on a per-directory basis and that mod_rewrite is installed and enabled in Apache. The best way to find this out is to ask your host’s tech support people.
I’m assuming that this is a Linux+Apache server setup (if not, let us know)...
What is happening the way you have it set up now? Are you getting a 500 Server Error or 404 File Not Found or...? Do your MODx pages appear properly if you use the old-school URLs (e.g., ajax/index.php?id=3)?
-
- 36 Posts
Thanks guys for your comments
To OpenGeek: I didn’t post the entire file because I figured that was the relevant line. The file of course is much more than that one line.
to ZAP: Thanks, I’ll see what my tech support says. And I get this:
Internal Server Error
When the htaccess is turned on. Thanks.
-
- 1,611 Posts
Hmm... Well a 500 Internal Server Error usually means something bigger than just FURLs not working via mod_rewrite. If it goes away when you delete your .htaccess file then you know that you have something in there that really bugs your PHP or Apache installation.
I’ve mostly seen this on servers running suExec. Try commenting out just the two PHP directives (the ones that set compression). More and more servers prohibit those in an .htaccess file (you have to use a php.ini file instead), and they will return a 500 error if you include them there.
If that fixes the problem and you can then use FURLs, then you’re all set (although you might want to check what your PHP compression values are by default on your server and ask your host to help you change them if you’re not happy with those settings).