LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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


Closed Thread
  Search this Thread
Old 06-20-2009, 07:41 PM   #1
mcanallyd
Member
 
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.

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

Rep: Reputation: Disabled
Quote:
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.
Cheers,
jdk
 
Old 06-21-2009, 12:24 PM   #3
ml41782
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, 02:10 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
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.



http://www.linuxquestions.org/questi...l-file-733720/
 
  


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 10:16 AM
apache2 .html pages not being parsed mgichoga Debian 1 03-03-2007 09:58 PM
Where does apache2 keep index.html? Thaidog Linux - General 3 01-15-2007 08:23 AM
PHP5 and Apache2 on RedHat 9 woes! stinky_tofu Red Hat 2 04-24-2006 03:48 PM
MS and HTML Woes. DeusExLinux General 11 06-29-2005 02:37 PM


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