Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 01-02-2010, 05:25 PM
JimC JimC is offline
Hatchling Croc
 
Join Date: Dec 2009
Posts: 4
Default Blocked directory access

I'm having problems getting a new Wordpress install to work with images. Although images upload properly, they cannot be accessed by WP to be displayed, from the directories in which they are automatically placed. Neither can a web browser open them:
http://vrblog.wholereality.com/wp-co...a_blog_sm3.jpg

This comes up with a permissions error, and also a 404 error. Perhaps this is related to WP not being able to access?

I've double-checked the permissions, and they appear correct. The only htaccess files are empty. Any other ideas?

I'm new at this, so apologies if this is simple, but I've searched both WP and HG forums with no clear answer yet.

Thanks!
Reply With Quote
  #2  
Old 01-02-2010, 06:55 PM
EarlyOut's Avatar
EarlyOut EarlyOut is offline
King Croc
 
Join Date: Aug 2009
Location: Sector R
Posts: 1,313
Default Re: Blocked directory access

Do you have hotlink protection turned on?
Reply With Quote
  #3  
Old 01-02-2010, 07:09 PM
JimC JimC is offline
Hatchling Croc
 
Join Date: Dec 2009
Posts: 4
Default Re: Blocked directory access

No, hotlink protection is turned off. I tried turning it on, then off, but to no avail.
Reply With Quote
  #4  
Old 01-02-2010, 07:41 PM
GatorLBrower's Avatar
GatorLBrower GatorLBrower is offline
HostGator Staff
 
Join Date: Feb 2008
Location: Texas
Posts: 1,373
Default Re: Blocked directory access

JimC,

I went ahead and looed at this for you and the issue was file permissions on the upload directory and directories underneath it. I went ahead and corrected them for you and the image you linked in the first post now loads without issue. Please keep in mind that directories need to be mode 755.
__________________
Larry Brower, CCENT
Linux System Administrator II
Hostgator.Com, LLC

Reply With Quote
  #5  
Old 01-02-2010, 08:21 PM
JimC JimC is offline
Hatchling Croc
 
Join Date: Dec 2009
Posts: 4
Default Re: Blocked directory access

Thank you for the quick help, it works great now. I guess double-checking permissions myself wasn't useful when following wrong instructions. (And sorry for the cross-post; dumb mistake on my part.)

Jim
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Access Directory Above /public_html/ Turkey Central Shared Hosting Support 4 01-25-2009 05:49 PM
outbound access to port 8080 blocked? andrewbee Webhosting 2 03-15-2008 09:03 PM
Directory Access and MP3 Suitability Musing Pre-Sales Questions 3 10-17-2007 03:32 PM

All times are GMT -6. The time now is 04:27 AM.