• I think that I have read all of the codex info, discussions, and various tutorials, however, I am having a really hard time getting permalinks to work correctly on my WP install. I get 404 errors when clicking on just about anything (Comments, Archives, Categories) from my main page. Other that that, most things seem to be functioning fine. PHP5 & MySQL4 load fine, .htaccess is writable, DB Creation was successful, its just the permalinks that do not work. When I turn them off, everything is fine. I think it is most likely a problem in my httpd.conf file or the mod_rewrite functionality, but I cannot figure it out.

    Anyone have any experience getting WordPress permalinks to work on OSX server 10.3.9?. Any help would be greatly appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • I think you need this in httpd.conf (or username.conf)
    <Directory "/path/to/blog">
    Options FollowSymLinks
    AllowOverride All
    </Directory>

    This might be worth a read too, there is some .conf fiddling described.
    http://girtby.net/offerings/wordpress-osx-local-mirror

    If that doesn’t work I’ll check mine tonight and post what I have.

    Edit: Thought I had posted this before:
    http://wordpress.org/support/topic/31333

    Thread Starter jonovox

    (@jonovox)

    Thanks for the quick reply, and I had read your earlier post, I just canot get it to work. Here are the (2) changes made to my httpd.conf file:

    <Directory “/”>
    Options FollowSymLinks
    AllowOverride FileInfo
    </Directory>

    =========================

    <Directory “/Sites/classicpornlog”>
    Options FollowSymLinks
    AllowOverride All
    </Directory>

    And things still do not work. This is the text that I get when I click on any internal link from my install:

    Not Found
    The requested URL /archives/2005/05/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.33 Server at classicpornlog.com Port 16080

    Thanks again for your help. This noob really appreciates it.

    Did you stop/start apache after making the changes?
    turn off/ turn on personal web sharing
    or sudo apachectl graceful in terminal

    One other suggestion is to remake and re-chmod .htaccess as described in the other thread.

    Thread Starter jonovox

    (@jonovox)

    Thanks Ian. Yes, I have been restarting apachee via the terminal, as there is no personal web sharing option in OS X server. I have also remade & re-permissioned my .htaccess file a couple of times, all to no avail. I am rather new to this kind of stuff, but I think part of the problem lies in the fact that the httpd.conf file is significantly different when using a “server” version of OS X. It seems as though most of the work arounds & solutions for these issues on a mac, are written for people using “client” installs of OS X.

    I just had the same thought. Maybe this is it?
    http://wordpress.org/support/topic/6207

    Have you tried googling for something like ‘mod_rewrite OS X server’ rather than WordPress specific? It might give you more avenues to explore.

    Thread Starter jonovox

    (@jonovox)

    I found that post last night & tried it again today, but no luck. Thanks for the google tip, maybe that will help. If I find the answer, I will let you know. It’s going to be a real long weekend if I cannot figure this out!

    Good luck. You could go with the index.php/nice-permalink method if all else fails.

    Hi,
    I had the same problem, just wanted to share how i was able to fix this.

    You need to create a .htaccess file in your root WordPress directory. Text edit and bbedit won’t let you create files that begin with a period. What I did was search on my system for .htaccess files (you need to search for invisible files). Then make a copy of an htaccess file to your root wp directory. Open up terminal
    cd /library/web server/documents/path-to-your-wp-directory/
    touch .htaccess
    chmod 666 .htacces

    Open up the now writeable htaccess file with bbedit, and delete anything thats already in it.

    Add/change these lines to your httpd.conf file. First you’ll have to change the permissions on this too to write to it. (I also changed the AllowOverride for the “/” directory to All, not sure if this is needed)
    <Directory “/”>
    Options FollowSymLinks
    AllowOverride All
    </Directory>
    <Directory “/Library/WebServer/Documents/path-to-your-wp-directory/”>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    Save it (first you have to change the permissions so you have access).

    Restart apache from terminal with
    sudo apachectl graceful

    Go into WordPress and set up your permalinks.

    Hope this helps.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘WordPress 1.5 on OS X Server 10.3.9’ is closed to new replies.