How-To: VirtualHost

Hi,

I get an Error during creating a Virtual Host

Errormessage:

Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 360 of /etc/httpd/conf/httpd.conf:
order takes one argument, ‘allow,deny’, ‘deny,allow’, or ‘mutual-failure’

My Host:

> <VirtualHost *:80>
>         ServerAdmin hostmaster@xxxxxxxxxx.de
>         ServerName www.xxxxxxxxxx.de
>         DocumentRoot /home/nicky/pki2017/web
>         <Directory /home/nicky/pki2017/web>
>                 #Options Indexes FollowSymLinks MultiViews
>                 AllowOverride None
>                 Order allow,deny               **<------ Error in this Line**
>                 allow from all
>         </Directory>
>         ErrorLog /home/nicky/pki2017/web/xxxxxx.de-error.log

>         LogLevel warn


> </VirtualHost>

After change Line 12 to Order allow

Starting httpd: Syntax error on line 12 of /etc/httpd/conf.d/webhost_xxxxxx.conf:
unknown order

I need the host only to distribute files (Certificates etc…)
Please help me.

Thanks

Nicky

1 Like