Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 9th May 2008, 07:51 AM
Query Offline
Registered User
 
Join Date: Oct 2007
Posts: 36
configuration syntax error in httpd.conf.

I got configuration syntax error in httpd.conf.. dont' know why. We have three ips pointing to the /var/www/html. I would like to make one ip for /var/www/mydomain.com. I add the following line in httpd.conf and make /var/www/mydomain.com owned by apache. but I still got error.

<VirtualHost xxx.xxx.xx.xx>
ServerAdmin webmaster@mydomain.com
DocumentRoot /var/www/mydomain.com
#ServerName blahblah
ErrorLogs logs/mydomain.com-error_log
accessLogs logs/mydomain.com-access_log

</VirtualHost>

P.s

1) I got syntax error be it commend that line of ServerName out or not.
2) I don't run my own DNS server. I have an A-record pointing to that ip by my Domain name provider.

Please help! Thanks in advance.
Reply With Quote
 

Tags
configuration, error, httpdconf, syntax

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP/APACHE Server Configuration Question & httpd.conf jazzer386 Using Fedora 4 29th August 2008 07:15 PM
httpd.conf configuration ashiers Servers & Networking 9 13th January 2008 07:46 PM
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /us Kingtu Servers & Networking 2 5th April 2007 12:54 AM
Httpd Syntax error mrman2787 Servers & Networking 4 18th August 2005 10:10 PM
ci problems with /etc/httpd/conf/httpd.conf lonelylost_brar Servers & Networking 2 8th June 2005 08:17 PM


Current GMT-time: 12:54 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat