Failed to start apache :
Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/httpd.conf:
ServerAlias only used in
[FAILED]
Somtimes I feel I,m on another planet..when I receive this form of error...a very basic problem no doubt..to me :<
I guessing that it relates to this area: can someone share some light
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin
webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
#<VirtualHost *:80>
#SuexecUserGroup slp issoff
ServerName issoff.com
ServerAlias
www.issoff.com
DocumentRoot /home/gary1/public_html
ErrorLog /home/gary1/logs/error_log
CustomLog /home/gary1/logs/access_log common
ScriptAlias /cgi-bin/ /home/gary1/cgi-bin/
<Directory /home/gary1/public_html>
AllowOverride All
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
</Directory>
#</VirtualHost>
RewriteLogLevel 3
RewriteLog "/var/log/httpd/rewrite.log"
<VirtualHost *:80>
ServerName recruitmentnews.issoff.com
ServerAlias
www.recruitmentnews.issoff.com
DocumentRoot /home/gary1/domains/recruitmentnews.issoff.com/public_html
ErrorLog /home/gary1/domains/recruitmentnews.issoff.com/logs/error_log
CustomLog /home/gary1/domains/recruitmentnews.issoff.com/logs/access_log "common"
ScriptAlias /cgi-bin/ /home/gary1/domains/recruitmentnews.issoff.com/cgi-bin/
<Directory /home/gary1/domains/recruitmentnews.issoff.com/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
HostNameLookups on
</Directory>
LogLevel alert
CheckSpelling On
AliasMatch ^/.*$ /etc/cpplus/virtual_server/disabled.html
</VirtualHost>