Pastebin

Paste #1357: apache

< previous paste - next paste>

Pasted by tdn

Download View as text

[root@syrah]/etc/spye/metaconfig/node/files/etc/apache2 #cat /etc/apache2/sites-enabled/000-default                          [/dev/pts/5 # 352 - 0 - 0 # 3 day 15:21:33 # 0.00 - 0.00 - 0.00]
## ------------------------------------------                                                                                                                                                
## Generated by MetaConfig                                                                                                                                                                   
##                                                                                                                                                                                           
## THIS FILE IS AUTOMATICALLY GENERATED.                                                                                                                                                     
## DO NOT EDIT. ALL CHANGES WILL BE LOST.                                                                                                                                                    
## ------------------------------------------                                                                                                                                                
NameVirtualHost 10.0.0.50:80
<VirtualHost 10.0.0.50:80>
    ServerAdmin webmaster@thomasdamgaard.dk
    ServerName syrah
    DocumentRoot /data/www/virtual/default/htdocs
    <Directory /data/www/virtual/default/htdocs/>
      Order Allow,Deny
      Allow from all
    </Directory>

    LogLevel warn
    ErrorLog /data/www/virtual/default/log/error.log
    CustomLog /data/www/virtual/default/log/access.log combined
</VirtualHost>
[root@syrah]/etc/spye/metaconfig/node/files/etc/apache2 #cat /etc/apache2/conf.d/security                                    [/dev/pts/5 # 353 - 0 - 0 # 3 day 15:24:09 # 0.19 - 0.05 - 0.01]
## ------------------------------------------
## Generated by MetaConfig
##
## THIS FILE IS AUTOMATICALLY GENERATED.
## DO NOT EDIT. ALL CHANGES WILL BE LOST.
## ------------------------------------------
<Directory />
  Options None
  AllowOverride None
  Order Deny,Allow
  Deny from all
</Directory>


ServerTokens Prod

ServerSignature Off

TraceEnable Off

[root@syrah]/etc/spye/metaconfig/node/files/etc/apache2 #curl localhost                                                      [/dev/pts/5 # 354 - 0 - 0 # 3 day 15:24:19 # 0.16 - 0.04 - 0.01]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /
on this server.</p>
</body></html>
[root@syrah]/etc/spye/metaconfig/node/files/etc/apache2 #                                                                    [/dev/pts/5 # 355 - 0 - 0 # 3 day 15:24:27 # 0.13 - 0.04 - 0.01]
==> /var/log/apache2/error.log <==
[Sat Jun 20 13:54:51 2009] [error] [client 127.0.0.1] client denied by server configuration: /htdocs

==> /var/log/apache2/other_vhosts_access.log <==
syrah.vineyard:80 127.0.0.1 - - [20/Jun/2009:13:54:51 +0200] "GET / HTTP/1.1" 403 202 "-" "curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8 libssh2/0.18"

[root@syrah]/etc/spye/metaconfig/node/files/etc/apache2 #         

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.