LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 09-07-2006, 09:59 AM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
Apache 1.3.34 Server on Kubuntu - index.html file permissions?


I recently set up a network address and server with the Kubuntu Apache 1.3.34 package and the magic of DynDNS; I am new to the server game, but I was able to copy an index.html file into my /var/www directory and the page was served fine. Now I have problems; thank you in advance for reading and possibly helping.

I went to edit the page last night, and suddenly I was getting "Error 403: Forbidden, you don't have access to / on this server." My edits were minimal, and I even reverted back to the original file, but I still recieved these errors. I finally set the /var/www (and all contents) permissions to 755 (user=root; group=root), but I have a feeling that this may not be correct. Is this safe?

Also, my index.html file had two embedded images/code snippits -- one was a link to a favorite UserFriendly.org cartoon (the actual cartoon appeared on my page), and one was a localized weather report from www.weatherforyou.com, which makes new images based on the weather, which mypage then loads. The weather report and the cartoon now both appear as "broken link/images" (you know, the empty box with a ripped paper saying it cannot be found or loaded). When I click on the weather report, I am sent to the WeatherForYou local report, but the embedded image/code (which hasn't changed) no longer works. As I said, I even reverted back to my original index.html file, but no success.

Yes, I stopped and restarted Apache. At one point i rebooted to make sure it was a freshly-running process.

What are my safe permissions for this folder and file?
Who should own them -- root? (currently root)
What should the group ownership be? (currently root)
And why are embedded images not working?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.2 Index.html / configure httpd.conf file kaltwasser Linux - Networking 16 09-14-2011 12:05 AM
Apache problem - cannot get index.html file to show nebloof Linux - Software 3 01-15-2005 10:32 PM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM
Apache 2.0 search for index.html file pawlub Linux - Software 2 10-28-2003 10:03 AM
Red Hat Linux 8 Apache index.html file muhammade Linux - General 10 02-11-2003 11:30 AM


All times are GMT -5. The time now is 11:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration