LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-01-2008, 06:04 PM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
apache css access denied


Hi, I just installed apache and put my website into /var/www/
However apart from the index.html file it won't read any other files (css, gifs, etc) It shows int the browser (http://localhost) but without any graphics or css formatting.

I got the error logs as follows:

Code:
[Tue Apr 01 23:07:41 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /images/logo.gif denied, referer: http://localhost/
same for style.css

How can I solve it?
 
Old 04-01-2008, 07:02 PM   #2
theriddle
Member
 
Registered: Jun 2007
Distribution: Gentoo
Posts: 172

Rep: Reputation: 30
Okay, are the permissions for index.html the same as the permissions for the other files?
 
Old 04-02-2008, 01:08 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
drwxr-x--- 2 xtd8865 xtd8865 4096 2008-04-01 23:04 images
-rw-r--r-- 1 xtd8865 xtd8865 9737 2008-04-01 23:03 index.html
-rwxr-x--- 1 xtd8865 xtd8865 2696 2008-04-01 23:04 style.css
EDIt: yes, that was the problem
Quote:

xtd8865@ubuntu:/var/www$ ls -l images
total 8
-rwxr-x--- 1 xtd8865 xtd8865 834 2008-04-01 23:04 arw.gif
-rwxr-x--- 1 xtd8865 xtd8865 695 2008-04-01 23:04 logo.gif


thanks, solved

Last edited by sycamorex; 04-02-2008 at 02:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat, help with Apache access denied errors while running Twiki brettreyu Linux - Newbie 1 09-14-2007 07:49 PM
apache public_html access denied willigiann Linux - Networking 2 12-12-2006 11:36 AM
Apache 403 access denied outside of document root freedo5 Linux - Software 2 09-21-2005 08:06 PM
apache and webmin - access denied? Moebius Linux - Software 1 10-12-2004 08:23 AM
Apache 403 Access Denied spintrance7 Linux - Software 2 10-13-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration