LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2006, 08:30 PM   #1
aenguillo
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Rep: Reputation: 0
apache server


i've got another problem. it's on a webserver. i'm using apache 2.0.54 on a fedora core 4. things were running smoothly until there came a time that i have to upload new files. i don't upload using ftp. i upload files manually. i transfer html pages using a flash disk or a cd-rw. before, after i finish copying my new pages to the server, i could easily view them. got no problem with that. but lately, when i try to copy new pages in a new directory and view them in the web i get this Forbidden message:

You don't have permission to access /new_directory/directoryname2/page.htm on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.



but i found out that when i use an existing directory (i put my new pages in an existing directory)and try to access that page, it would work.

please help me... what's wrong with the server? what should i do?

thanks guys...
 
Old 06-27-2006, 08:50 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
What is the owner:group and permissions of the afflicted directories and files? What is the uid of the apache server process?

--- rod.
 
Old 06-27-2006, 09:15 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
Are you using selinux? If so, the thread here at http://www.linuxquestions.org/questi...99#post2291199 may be useful. As well as the restorecon command, it also refers to the chcon command.
 
Old 06-27-2006, 10:12 PM   #4
aenguillo
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
thanks theNbomr and gilead. the restorecon command worked.
thanks so much guys.
 
  


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
apache server redirecting to apache.org? exley Linux - Software 1 03-13-2006 02:02 AM
setting up a slack, apache server with php and a sql server. caged Slackware 1 10-25-2004 05:45 AM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 11:46 AM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 09:35 AM
Apache Server Config, Mail Server, & Uploading johan the olive Linux - Networking 5 03-15-2003 12:42 AM


All times are GMT -5. The time now is 11:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration