Virtual server, httpd.conf error !

This is a discussion on Virtual server, httpd.conf error ! within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, i am having problem setting up a virtual server with subdomain !i can't start my apache2 server after ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-09-2005
Rohan
 
Posts: n/a
Default Virtual server, httpd.conf error !

Hi, i am having problem setting up a virtual server with
subdomain !i can't start my apache2 server after i've changed
the httpd.conf this is
what i get:

linux:/etc # init.d/apache2 restart
Syntax OK
Starting httpd2 (prefork) startproc: exit status of parent of
/usr/sbin/httpd2-prefork: 1
failed
linux:/etc #

some part of httpd.conf that i've changed !
hope someone can help me ! thnak you !

--------------------------------------------------------------

# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>

<Directory "/80gig/ftp">
AuthType Basic
AuthName "virtualftp.net :: FTP directory"
AuthUserFile /usr/local/.htpasswd_virtualftp.net
require valid-user
</Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

# List of resources to look for when the client requests a directory
DirectoryIndex index.html index.html.var

### 'Main' server configuration #############################################
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
Include /etc/apache2/default-server.conf


Include /etc/apache2/sysconfig.d/include.conf

<VirtualHost *:80>
ServerAdmin admin@virtualftp.net
DocumentRoot /80gig/ftp
ServerName virtual.netftp/ftp
ErrorLog logs/virtualftp.net.error.log
TransferLog logs/virtualftp.net-access_log
</VirtualHost>

Include /etc/apache2/vhosts.d/*.conf

  #2 (permalink)  
Old 08-10-2005
YouCanToo
 
Posts: n/a
Default Re: Virtual server, httpd.conf error !

Rohan wrote:
> Hi, i am having problem setting up a virtual server with
> subdomain !i can't start my apache2 server after i've changed
> the httpd.conf this is
> what i get:
>
> linux:/etc # init.d/apache2 restart
> Syntax OK
> Starting httpd2 (prefork) startproc: exit status of parent of
> /usr/sbin/httpd2-prefork: 1
> failed
> linux:/etc #
>
> some part of httpd.conf that i've changed !
> hope someone can help me ! thnak you !
>
> --------------------------------------------------------------
>
> # forbid access to the entire filesystem by default
> <Directory />
> Options None
> AllowOverride None
> Order deny,allow
> Deny from all
> </Directory>
>
> <Directory "/80gig/ftp">
> AuthType Basic
> AuthName "virtualftp.net :: FTP directory"
> AuthUserFile /usr/local/.htpasswd_virtualftp.net
> require valid-user
> </Directory>
>
> # use .htaccess files for overriding,
> AccessFileName .htaccess
> # and never show them
> <Files ~ "^\.ht">
> Order allow,deny
> Deny from all
> </Files>
>
> # List of resources to look for when the client requests a directory
> DirectoryIndex index.html index.html.var
>
> ### 'Main' server configuration #############################################
> #
> # The directives in this section set up the values used by the 'main'
> # server, which responds to any requests that aren't handled by a
> # <VirtualHost> definition. These values also provide defaults for
> # any <VirtualHost> containers you may define later in the file.
> #
> # All of these directives may appear inside <VirtualHost> containers,
> # in which case these default settings will be overridden for the
> # virtual host being defined.
> #
> Include /etc/apache2/default-server.conf
>
>
> Include /etc/apache2/sysconfig.d/include.conf
>
> <VirtualHost *:80>
> ServerAdmin admin@virtualftp.net
> DocumentRoot /80gig/ftp
> ServerName virtual.netftp/ftp <-------- What's this, what ever it is it is not a FQDN
> ErrorLog logs/virtualftp.net.error.log
> TransferLog logs/virtualftp.net-access_log
> </VirtualHost>
>
> Include /etc/apache2/vhosts.d/*.conf
>

 
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0