LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-27-2005, 04:32 AM   #1
mesh2005
Member
 
Registered: Sep 2005
Location: Ägypten
Distribution: Ubuntu 5.10
Posts: 155

Rep: Reputation: 30
Apache 2 can't open file!


i use Apache 2 , mod-perl2 ; the problem is i have a perl script that reads a html file, although the file path is correct the Apache reports "Can't open file" , the file permission is read for all and i use the root account
can anyone help
thanks
 
Old 10-27-2005, 01:20 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
It could be a path problem or permissions on one of the directories in the path to the file.
 
Old 10-30-2005, 05:15 AM   #3
mesh2005
Member
 
Registered: Sep 2005
Location: Ägypten
Distribution: Ubuntu 5.10
Posts: 155

Original Poster
Rep: Reputation: 30
i checed the path and the permissins, the path is correct and the permission is set to read for all
 
Old 10-31-2005, 09:15 AM   #4
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
any entry's in your apache error_log?
 
Old 10-31-2005, 12:55 PM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by mesh2005
i checed the path and the permissins, the path is correct and the permission is set to read for all
Did you check permission on the "upstream" directories? (ie /dir1/dir2/dir3/file) You might have the correct permissions on file, but your Apache user might not be able to read dir1, dir2, or dir3.
 
  


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
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 01:59 AM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 09:34 AM
How to open a wps file in open office 1.1 oneiric Linux - Software 4 04-15-2004 05:07 AM
my apache server try to open the conf file from previous path m_a Linux - Networking 4 08-05-2003 06:30 AM
open file limits in 2.4 kernel/apache? eva2000 Linux - Newbie 8 07-29-2002 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:09 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