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


Reply
  Search this Thread
Old 10-08-2005, 07:16 PM   #1
Dolphin2005
LQ Newbie
 
Registered: Sep 2005
Location: London
Posts: 13

Rep: Reputation: 0
Angry Configuring Apache problems


Hi,
I am trying to configure Apache's httpd file and I chaged a few things in it according to a guide i found on the interent. I am now unable to restart Apache successfully.
The error message I get is as follows:
<Directory> was not closed

The syntax it is reffering to is below (the bold section - I included the syntax above and beloow the error line just to give you an idea about its context):
<Directory "C:/Documents and Settings/*/My Documents/My Website">
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

<Directory "Cocuments and SettingsYourusernamehereMy DocumentsMyWebsitelocalhostwww">[/B]

Options Multiviews Indexes SymlinksifownerMatchIncludes ExecCGI


I would appriciate any help

Thanks
 
Old 10-12-2005, 08:16 PM   #2
NoStop
Member
 
Registered: Feb 2005
Location: Canada
Distribution: Debian Etch - Enlightenment E17
Posts: 116

Rep: Reputation: 15
Try running Apache on GNU/Linux. I'm sure it'll run better than on Windoze.
 
Old 10-12-2005, 09:06 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Yeah, Apache is much happier on *nix than MS, but in answer to your original question, you open <Directory>, but never close it with </Directory>. Just like HTML tags, if you open but don't close, it will screw things up.

Peace,
JimBass
 
  


Reply



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
Problems configuring apache for php5 Besnell Mandriva 3 12-28-2004 09:01 AM
Configuring Apache desarrolladores Linux - Software 4 06-29-2004 01:14 PM
Configuring Apache :( shoombool_tala Linux - Software 5 04-12-2004 05:30 PM
problems configuring php and apache vikram_cvk Linux - Software 2 03-06-2004 02:42 PM
Problems configuring apache with php filezbyme Linux - Software 1 04-29-2002 10:43 PM

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

All times are GMT -5. The time now is 06:29 PM.

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