LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 06: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, 10:58 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

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, 11:24 AM   #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, 01:10 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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