The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Apache is retarded

stiliststilist Registered User regular
edited February 2008 in Help / Advice Forum
So: I recently decided I wanted to set up WordPress on my MacBook and start playing around with it. After following the steps here, I got Apache/PHP/MySQL coöperating nicely, with WordPress working great—except that images specified in a stylesheet won’t load, but rather give a 403 error. As it happens, this exact issue is covered in the previous link, but the solution does not work for me.

In /etc/apache2/httpd.conf have the following:
<Directory "/Users/stilist/Sites/">
  Options Indexes Includes
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>

The following shows up in Apache’s error.log for each specified image:
[Mon Feb 04 17:12:56 2008] [error] [client 192.168.2.2] (13)Permission denied: file permissions deny server access: /Users/stilist/Sites/wordpress/wp-content/themes/black/[i]image_name[/i].gif, referer: http://192.168.2.2/~stilist/wordpress/

I poop things on my site and twitter
stilist on

Posts

  • SeñorAmorSeñorAmor !!! Registered User regular
    edited February 2008
    What are the files' permissions?

    SeñorAmor on
  • Apothe0sisApothe0sis Have you ever questioned the nature of your reality? Registered User regular
    edited February 2008
    My initial reaction is that the file permissions on /Users/stilist etc etc are set to something like read only for guests or other users.

    chmod those bitches (or whatever the mac version thereof is).

    Too simple? Sorry, if so.

    Apothe0sis on
  • stiliststilist Registered User regular
    edited February 2008
    As it turns out, it was a permission issue. I had checked the permissions by looking at the ‘Get Info’ window, but forgot about the UNIX side because I’m still not entirely accustomed to such things.

    Running chmod 777 *.* on the images fixed it right up, thanks!

    stilist on
    I poop things on my site and twitter
  • Apothe0sisApothe0sis Have you ever questioned the nature of your reality? Registered User regular
    edited February 2008
    I win!

    Apothe0sis on
Sign In or Register to comment.