[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

08/29/2004 at 06:48PM PDT, ID: 21111731
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

Apache Not Starting, Problem with httpd.include - 1000 Pt. Reward!

Asked by WavyGravy in Apache Web Server, Server Side Includes (SSI)

Tags: apache

I am currently running a server using Apache, Fedora Core 1 and Plesk 7 to manage my web server.   Everything was working fine until I realized recently that Apache had failed on me.  When I entered SSH to start apache I recieve this error message:

Starting httpd: Syntax error on line 1 of /etc/httpd/conf/httpd.include:
NameVirtualHost not allowed here

Now, here is the contents of the httpd.include file:

NameVirtualHost 207.234.130.18:80
NameVirtualHost 207.234.130.18:443
ServerName localhost.localdomain
ServerAdmin support@radium5.com

DocumentRoot /home/httpd/vhosts/default/htdocs

<Directory "/home/httpd/vhosts">
      AllowOverride All
      Options SymLinksIfOwnerMatch
      Order allow,deny
      Allow from all
      php_admin_flag engine off
</Directory>

<Directory "/var/mailman">
      AllowOverride All
      Options SymLinksIfOwnerMatch
      Order allow,deny
      Allow from all
      php_admin_flag engine off
</Directory>

<IfModule mod_userdir.c>
      UserDir disabled
</IfModule>
<VirtualHost \
                  207.234.130.18:80 \
                  >
      ServerName default
      UseCanonicalName Off
      DocumentRoot /home/httpd/vhosts/default/htdocs
      ScriptAlias /cgi-bin/ "/home/httpd/vhosts/default/cgi-bin/"
      <IfModule mod_ssl.c>
            SSLEngine off
      </IfModule>
      <Directory "/home/httpd/vhosts/default/cgi-bin/">
            AllowOverride None
            Options None
            Order allow,deny
            Allow from all
      </Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost 207.234.130.18:443 >
      ServerName default-207-234-130-18
      UseCanonicalName Off
      DocumentRoot /home/httpd/vhosts/default/httpsdocs
      ScriptAlias /cgi-bin/ "/home/httpd/vhosts/default/cgi-bin/"
      SSLEngine on
      SSLVerifyClient none
      SSLCertificateFile /usr/local/psa/var/certificates/certhvK9909
      <Directory "/home/httpd/vhosts/default/cgi-bin/">
            AllowOverride None
            Options None
            Order allow,deny
            Allow from all
      </Directory>
      <Directory /home/httpd/vhosts/default/httpsdocs>
            SSLRequireSSL
      </Directory>
</VirtualHost>

</IfModule>

<VirtualHost \
                  207.234.130.18:80 \
                  >
      DocumentRoot /home/httpd/vhosts/webmail
      ServerName webmail
      ServerAlias webmail.*
      UseCanonicalName Off
      <Directory /home/httpd/vhosts/webmail/horde>
            <IfModule sapi_apache2.c>
                  php_admin_flag engine on
                  php_admin_flag magic_quotes_gpc off
                  php_admin_value safe_mode off
                  php_admin_value open_basedir "/home/httpd/vhosts/webmail:/etc/psa:/tmp"
                  php_admin_value include_path "/home/httpd/vhosts/webmail/horde/lib:/home/httpd/vhosts/webmail/horde/pear:."
            </IfModule>
      </Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost \
                  207.234.130.18:443 \
                  >
      DocumentRoot /home/httpd/vhosts/webmail
      ServerName webmail
      ServerAlias webmail.*
      UseCanonicalName Off
      SSLEngine on
      SSLVerifyClient none
      SSLCertificateFile /etc/httpd/conf/httpd.pem
      <Directory /home/httpd/vhosts/webmail/horde>
            <IfModule sapi_apache2.c>
                  php_admin_flag engine on
                  php_admin_flag magic_quotes_gpc off
                  php_admin_value safe_mode off
                  php_admin_value open_basedir "/home/httpd/vhosts/webmail:/etc/psa:/tmp"
                  php_admin_value include_path "/home/httpd/vhosts/webmail/horde/lib:/home/httpd/vhosts/webmail/horde/pear:."
            </IfModule>
            SSLRequireSSL
      </Directory>
</VirtualHost>


</IfModule>

<VirtualHost \
                  207.234.130.18:80 \
                  >
      DocumentRoot /home/httpd/vhosts/default/htdocs
      ServerName lists
      ServerAlias lists.*
      UseCanonicalName Off
      ScriptAlias /mailman/ /var/mailman/cgi-bin/
      Alias /icons/ /var/www/icons/
      Alias /pipermail/ /var/mailman/archives/public/
      <Directory /var/mailman/archives/>
            Options FollowSymLinks
      </Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost \
                  207.234.130.18:443 \
                  >
      DocumentRoot /home/httpd/vhosts/default/httpsdocs
      ServerName lists
      ServerAlias lists.*
      UseCanonicalName Off
      ScriptAlias /mailman/ /var/mailman/cgi-bin/
      Alias /icons/ /var/www/icons/
      Alias /pipermail/ /var/mailman/archives/public/
      <Directory /var/mailman/archives/>
            Options FollowSymLinks
      </Directory>
</VirtualHost>


</IfModule>

Include /home/httpd/vhosts/radium5.com/conf/httpd.include

Include /home/httpd/vhosts/mrgravy.com/conf/httpd.include

Include /home/httpd/vhosts/ninjapole.com/conf/httpd.include

Include /home/httpd/vhosts/staff.radium5.com/conf/httpd.include

Include /home/httpd/vhosts/optimumautodesign.com/conf/httpd.include

Include /home/httpd/vhosts/kford.ninjapole.com/conf/httpd.include

Include /home/httpd/vhosts/helpdesk.radium5.com/conf/httpd.include

Include /home/httpd/vhosts/game-seven.com/conf/httpd.include

Include /home/httpd/vhosts/team-map.com/conf/httpd.include

Include /home/httpd/vhosts/zuph.com/conf/httpd.include

Include /home/httpd/vhosts/podsky.com/conf/httpd.include

Include /home/httpd/vhosts/ckylending.com/conf/httpd.include

Include /home/httpd/vhosts/uckygolf.com/conf/httpd.include

Include /home/httpd/vhosts/nuventure-apparel.com/conf/httpd.include

Include /home/httpd/vhosts/amlenders.com/conf/httpd.include

Include /home/httpd/vhosts/datatrustrecords.com/conf/httpd.include

Include /home/httpd/vhosts/etechoncall.com/conf/httpd.include

Include /home/httpd/vhosts/haydencompany.net/conf/httpd.include

Include /home/httpd/vhosts/firecruiter.com/conf/httpd.include

Include /home/httpd/vhosts/deedlit.org/conf/httpd.include

Include /home/httpd/vhosts/mavenarts.com/conf/httpd.include

Include /home/httpd/vhosts/revolutionms.com/conf/httpd.include

Include /home/httpd/vhosts/indianfarmers.org/conf/httpd.include

Include /home/httpd/vhosts/rgiins.com/conf/httpd.include

Include /home/httpd/vhosts/strangeaeons.net/conf/httpd.include

Include /home/httpd/vhosts/bobrobertsins.com/conf/httpd.include

Include /home/httpd/vhosts/foolass.com/conf/httpd.include

Include /home/httpd/vhosts/worstofme.com/conf/httpd.include

Include /home/httpd/vhosts/retrogeek.us/conf/httpd.include

Include /home/httpd/vhosts/mrstemplet.com/conf/httpd.include

Include /home/httpd/vhosts/freebrock.com/conf/httpd.include

Include /home/httpd/vhosts/b0x.info/conf/httpd.include

Include /home/httpd/vhosts/troop167.org/conf/httpd.include

Include /home/httpd/vhosts/melwings.com/conf/httpd.include

Include /home/httpd/vhosts/e-bortions.com/conf/httpd.include

Include /home/httpd/vhosts/tejaskendra.org/conf/httpd.include

Include /home/httpd/vhosts/kreusserfamily.com/conf/httpd.include

Include /home/httpd/vhosts/cc3654.com/conf/httpd.include

Include /home/httpd/vhosts/velvethammer.org/conf/httpd.include

<VirtualHost 207.234.130.18:80>
      ServerName   r5domains.com
      ServerAlias  www.r5domains.com
      ServerAdmin  "support@radium5.com"
      RedirectPermanent / "http://radium5.com/domains.php"
</VirtualHost>

As far as I can tell, httpd.includes deals with the virtual hosting.  Anyone who can answer this will recieve 1000 points.

And of course, as always, thanks in advance!
[+][-]08/29/04 09:06 PM, ID: 11928534

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/29/04 09:20 PM, ID: 11928578

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/29/04 09:25 PM, ID: 11928592

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/29/04 11:02 PM, ID: 11928832

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/30/04 04:27 AM, ID: 11929918

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/30/04 05:59 AM, ID: 11930503

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/30/04 07:39 AM, ID: 11931469

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/27/04 09:35 AM, ID: 12161851

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09/30/04 07:25 AM, ID: 12190266

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/01/04 03:05 PM, ID: 12204374

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Apache Web Server, Server Side Includes (SSI)
Tags: apache
Sign Up Now!
Solution Provided By: Computer101
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20090824-EE-VQP-74