-
☆ A M B ☆
- 24,524 Posts
Sounds like you need to add index.php as the server’s index page; it probably is configured to use index.html. You can have both, just put index.php before index.html in the configuration.
http://httpd.apache.org/docs/1.3/mod/mod_dir.html#directoryindex
Parthian
had a good look around and found little.
Actually there’s a huge, never ending thread on getting friendly urls to work. Surprised you didn’t find it.
I’ve often thought it would be good for someone to go through that thread and itemise and document all the issues people have with friendly urls, .htaccess, but then we’re all volunteers here and it all takes time.
It’s best just to ask the question, I’ve found you get answers really quickly.
Content Creator and Copywriter
-
☆ A M B ☆
- 24,524 Posts
If one is going to be running a web server, even if it is just a local development server, it would be logical to learn a bit about how web servers work. This is a forum for using MODx, not basic system administration.
Like some people I once worked as a housekeeper for; they had a fancy convection/microwave oven, and in spite of the HUGE RED WARNING LABELS on both the unit and its manual they had installed it in an enclosed cupboard. Then they blamed me when it overheated and stopped working about six months after I pointed out the fact that it was designed to be out on an open countertop.
Quote from: parthian at Aug 14, 2009, 01:38 PM
Wonderful.
DirectoryIndex index.php index.html index.html.var index.php5
Should this process be documented more clearly? Perhaps it is but I had a good look around and found little. It seems a shame to have to have a Degree in Computer Science or a lot of experience to be able to figure out how to get the Sample site working under a local WAMP. My guess is that everyone who tries what I have done (can’t be uncommon) must likely hit the same problem.
It just made the Installation FAQ at my site:
http://bobsguides.com/modx-installation-faq.html
BTW, I’m not sure there’s any point to the conditional since, if the statement doesn’t execute, your site won’t work. Maybe I’m missing something.
Also, unless you have a specific reason for having the other alternatives, this would be slightly more secure and it’s all MODx would need: