By cherylchase on
I have installed drupal a couple of times now, w/o problem (both times on Linux, on a server on my LAN, then on a hosting service). Each time, clean urls worked without any attention at all.
Now I have installed drupal on my main desktop computer, running osx. Clean URLs don't work (generate 404 errors). But apache seems to be configured with mod_rewrite, and I have the drupal .htaccess installed.
My config is:
Drupal 4.3.2
Apache/1.3.27
OSX 10.2.8
PHP Version 4.3.4
www.entropy.ch Release 1
Is someone familiar with this issue?
Also, can someone tall me (or point me to documentation) about how clean urls work? I glanced at .htaccess and index.php, and was not very enlightened!
Comments
httpd.conf
if it's a stock Apache install you'll need to go into your httpd.conf file and do a little editing.
/ect/httpd/httpd.conf
you'll need to be logged in as root (or use sudo in the terminal)... about halfway down... starting at line 370 there are options that control directory permissions.
the defaults are pretty restrictive (no .htaccess files allowed), you'll need to modify them to your liking.
good luck!
-skip
Thanks! That fixed it.
Thanks! That fixed it.
I think this is the answer I need... but what did they just say?
<----- EDIT -------->
I installed MAMP and now have Clean URL's
<------- EDIT END ------->
Hi All,
I have been trying to get Clean URL's working on my MAC OS X. but am getting the 404 error when I click the test button.
I have installed PHP5, from entropy.
The supplied Apache server on the MAC.
I'm a little iffy with using the terminal and accessing and trying to adjust the .htaccess files.
I have also set up my MAC so I can see hidden flies and can not find the sites folder as suggested in this line in the MAC OS X clean urls tutorial: /etc/httpd/sites/
Am I missing something pretty basic? Does anyone know where I can find a more straightforward tutorial?
I'm guessing this has been posted plenty of times but I've been spending ages to try find the answer and to no avail.
Regards
-Ben