Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Closed Thread
  Search this Thread
Old 06-20-2009, 06:41 PM   #1
Registered: Jan 2006
Location: Memphis, TN
Posts: 38

Rep: Reputation: 15
html, apache2 and Mozilla Firefox woes...

I can not get agache2 working. I can not edit var/www/index.html. Attempts to 'do anything' in var/www results in a message to locate the global section of SMB.CONF and then change 'usershare owner only = false'. None of the SMB.CONF files on my system can be edited.

I am trying to check my index.html file locally. Everyone keeps telling me I can point Mozilla Firefox to the file; but that does not work. All Mozilla does is act like a text editor and display the code; Mozilla does not execute the index.html file.

Old 06-21-2009, 10:58 AM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Originally Posted by mcanallyd View Post
None of the SMB.CONF files on my system can be edited.
1. Isn't the file called smb.conf? (no caps).
2. How many smb.conf files do you have?
3. What do you mean, they can't be edited? Do you mean they're not text files? Then something is wrong with your installation. Or do you mean you don't have the permissions to edit them? In that case you should use su or sudo.
Old 06-21-2009, 11:24 AM   #3
LQ Newbie
Registered: May 2009
Posts: 14

Rep: Reputation: 0
Appache2 directory /var/www is a root directory. you can edit it as root or chown index.html to your user account.

I did this for the files within /var/www on my system. I didn't want to run as root to work on the files within that directory.
Old 06-21-2009, 01:10 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

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
LXer: Mozilla Thunderbird to Find New Home as Mozilla Foundation Focuses on Mozilla Firefox LXer Syndicated Linux News 0 07-27-2007 09:16 AM
apache2 .html pages not being parsed mgichoga Debian 1 03-03-2007 08:58 PM
Where does apache2 keep index.html? Thaidog Linux - General 3 01-15-2007 07:23 AM
PHP5 and Apache2 on RedHat 9 woes! stinky_tofu Red Hat 2 04-24-2006 02:48 PM
MS and HTML Woes. DeusExLinux General 11 06-29-2005 01:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:21 PM.

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