Advertisement
Guest User

Untitled

a guest
Jun 21st, 2017
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.     ServerAdmin john@laptop.dj.edm
  3.     DocumentRoot /usr/share/drupal
  4.     ServerName laptop.dj.edm
  5.     ErrorLog logs/laptop.dj.edm-error_log
  6.     CustomLog logs/laptop.dj.edm-access_log common
  7.    RewriteEngine on
  8. #   RewriteBase /
  9. #   RewriteCond %{REQUEST_FILENAME} !-f
  10.  #  RewriteCond %{REQUEST_FILENAME} !-d
  11.   # RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
  12.   # Rewrite current-style URLs of the form 'index.php?q=x'.
  13. #  RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
  14.  # RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
  15.   #RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
  16. # RewriteCond  %{REQUEST_FILENAME} !^/$
  17.  # RewriteCond  %{REQUEST_FILENAME} !^/(files|misc|uploads)(/.*)?
  18. #  RewriteCond  %{REQUEST_FILENAME} !\.(php|ico|png|jpg|gif|css|js|html?)(\W.*)?
  19.   RewriteRule ^/(.*)$ index.php?q=$1 [L,QSA]
  20.   RewriteLog /var/log/httpd/laptop.dj.edm-rewrite.log
  21.   RewriteLogLevel 5
  22. </VirtualHost>
  23.  
  24. 192.168.77.135 - - [15/Oct/2010:18:10:05 --0600] [laptop.dj.edm/sid#7f645e082790][rid#7f645e313858/initial] (2) init rewrite engine with requested uri /admin
  25. 192.168.77.135 - - [15/Oct/2010:18:10:05 --0600] [laptop.dj.edm/sid#7f645e082790][rid#7f645e313858/initial] (3) applying pattern '^/(.*)$' to uri '/admin'
  26. 192.168.77.135 - - [15/Oct/2010:18:10:05 --0600] [laptop.dj.edm/sid#7f645e082790][rid#7f645e313858/initial] (2) rewrite '/admin' -> 'index.php?q=admin'
  27. 192.168.77.135 - - [15/Oct/2010:18:10:05 --0600] [laptop.dj.edm/sid#7f645e082790][rid#7f645e313858/initial] (3) split uri=index.php?q=admin -> uri=index.php, args=q=admin
  28. 192.168.77.135 - - [15/Oct/2010:18:10:05 --0600] [laptop.dj.edm/sid#7f645e082790][rid#7f645e313858/initial] (2) local path result: index.php
  29.  
  30. ==> /var/log/httpd/laptop.dj.edm-access_log <==
  31. 192.168.77.135 - - [15/Oct/2010:18:10:05 -0600] "GET /admin HTTP/1.1" 400 305
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement