Pastebin
Paste #169:
< previous paste - next paste>
Pasted by tdn
VHOST CONFIG:
(tdn@zeus.sikkerhed.org) (Mon Jul 31 09:39 ) {P:0 H:501}
(~) cat /etc/apache2/sites-available/thomasdamgaard.dk
<VirtualHost 83.221.155.180:80>
ServerName thomasdamgaard.dk
ServerAlias www.thomasdamgaard.dk
ServerAdmin webmaster@thomasdamgaard.dk
DocumentRoot /data/www/virtual/thomasdamgaard.dk/htdocs
ErrorLog /data/www/virtual/thomasdamgaard.dk/log/error.log
CustomLog /data/www/virtual/thomasdamgaard.dk/log/access.log combined
<Directory /data/www/virtual/thomasdamgaard.dk/htdocs/>
# #AllowOverride AuthConfig Indexes
# #AllowOverride All # Allows user to override any rules. (Use with care!) # AllowOverride FileInfo # This allows mod_rewrite rules.
AllowOverride AuthConfig FileInfo Limit Indexes
#AllowOverride All
</Directory>
AccessFileName .htaccess
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
php_admin_value open_basedir "/data/www/virtual/thomasdamgaard.dk/:/tmp"
php_admin_value safe_mode_exec_dir "/data/www/virtual/thomasdamgaard.dk/"
php_admin_value file_uploads On
php_admin_value log_errors On
php_admin_value display_errors On
</IfModule>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.thomasdamgaard\.dk$ [NC]
RewriteRule ^(.*)$ http://thomasdamgaard.dk$1 [R=301,L]
</VirtualHost>
(tdn@zeus.sikkerhed.org) (Mon Jul 31 09:39 ) {P:0 H:502}
(~)
LOG:
[Mon Jul 31 21:40:35 2006] [alert] [client 83.91.103.250] /data/www/virtual/thomasdamgaard.dk/htdocs/public/.htaccess: Options not allowed here
.htaccess:
(tdn@zeus.sikkerhed.org) (Mon Jul 31 09:41 ) {P:0 H:502}
(~) cat thomasdamgaard.dk/htdocs/public/.htaccess
Options +Indexes
IndexOptions +FancyIndexing
(tdn@zeus.sikkerhed.org) (Mon Jul 31 09:41 ) {P:0 H:503}
(~)
New Paste
Go to most recent paste.