Author Topic: cannot occur within VirtualHost section  (Read 12443 times)

0 Members and 1 Guest are viewing this topic.

cannot occur within VirtualHost section
« on: October 06, 2014, 10:34:39 AM »
i found trouble when restarting apache after configure vhost file on /usr/local/apache/conf, it's say <VirtualHost> cannot occur within <VirtualHost> section, i try to fix it but still same answer
would somebody help me
this is my conf file
<VirtualHost *:82>
     DocumentRoot "/home/unida/public_html/unida"
      ScriptAlias /cgi-bin/ "/home/unida/public_html/unida/cgi-bin/
      # Custom settings are loaded below this line (if any exist)
      <IfModule mod_suexec.c>
       SuexecUserGroup unida unida
     <IfModule mod_suphp.c>
             suPHP_UserGroup unida unida
             suPHP_ConfigPath /home/unida
   <Directory "/home/unida/public_html/unida">
             AllowOverride All

Re: cannot occur within VirtualHost section
« Reply #1 on: October 06, 2014, 08:01:46 PM »
you need to set your shared ip address and after that is done use apache vhost rebuild option to rebuild all your virtual hosts.
AntiDDoS Protection (web + mail)

Join our Development Team and get paid !

Services Monitoring & RBL Monitoring

Do you need Fast and FREE Support included for your CWP linux server?
Installation Instructions
Get Fast Support Here