This is all local, right? Make sure you’ve properly configured mod_rewrite in httpd.conf….
Thanks,
Yes all local.
hmm mod_rewrite?
I may need to google that.
given the scenario above
how would i configure my httpd.conf?
Thanks again!
What server software are you using?
umm Standard Apache that comes with the Latest version
of OSX 10.4.8.
plus the latest versions of PHP5 and MySql.
everything else works fine.
just not the when i try and use pretty permalinks.
That’s why I asked…. the only server software I have any familiarity with is XAMPP, and certainly nothing on a mac!
So I guess you can look in your apache folder, and see if there’s a conf folder, and if there is one see if inside it is the httpd.conf file. But before you edit anything in there, you want to make redundant backups, AND you want to access a usergroup or forum for apache on macs. Because I don’t know jack about them, don’t want to know, and don’t want you following anything I tell you to do which might mess something up….
LOL, Thanks vkaryl,
Steep learning curve here but. I found this –
http://faq.wordpress.net/view.php?p=20 (funny this url isn’t pretty)
“404: The well known ‘file not found’ error. You might get this while trying to enable permalinks. I have found that it is most likely due to having the wrong directory listed as your Rewrite Base in .htaccess. WordPress says to use / but sometimes this is incorrect. For example on my server I need to use: Rewrite Base /home/adailyad/public_html/ Either call your ISP or just keep trying different paths till you get it. Running phpinfo.php (in your wordpress directory) might give you some hints, look for the path value.”
Gonna investigete further.
Jacob
Oh…. hmmm. I hadn’t considered that possibility – I even remember some stuff about that from a while back. But I’ve never had to do anything but the / so didn’t keep track of that.
Still, it won’t hurt to figure out how to find out if your mod_rewrite module is properly activated. You can do that through phpinfo too (unless of course I’m getting tripped up by something completely different about a localhost server on a mac…. and that’s possible, you know!)
Okay after some serious investigation I fixed my problem.
VKaryl you had it! Thanks again. ; )
As suggested below – I had to make two changes in my httpd.config file
I changed –
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
to
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
and
# This controls which options the .htaccess files in directories can
# override. Can also be “All”, or any combination of “Options”, “FileInfo”,
# “AuthConfig”, and “Limit”
#
AllowOverride None
to
AllowOveride All
Which looking at it now makes perfect sense
but for a Noob like me still coming to grips
with configuring a Database CMS…This
was tricky to pin down.
Phew!
cheers,
jacob
http://codex.wordpress.org/Permalinks#Fixing_Permalink_Problems
AllowOverride Not Enabled
Your server may not have the AllowOverride directive enabled. If the AllowOverride directive is set to None in your Apache httpd.config file, then .htaccess files are completely ignored. In this case, the server will not even attempt to read .htaccess files in the filesystem. When this directive is set to All, then any directive which has the .htaccess Context is allowed in .htaccess files. Example of enabled AllowOverride directive in httpd.config:
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
You may also have to enable the AllowOverride directive in your DocumentRoot:
<Directory /var/www/html>
# … other directives…
AllowOverride All
</Directory>
You may also have to change the AllowOverride settings for the site. This is surely the case when using Mac Osx Server, but might be likewise with other systems. Usually you can find the site configuration files in /etc/httpd/sites/
Hey, that’s great! Could you mark this resolved up top then, pretty please and thanks?