Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. Header note X-Userid userid
  2. Header unset X-Userid
  3.  
  4. LogFormat "%h %l %{userid}n %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"" combined_with_php_userid
  5. CustomLog /var/log/apache2/access_log combined_with_php_userid
  6.  
  7. ProxyPassMatch ^/(.*.php(/.*)?)$ fcgi://127.0.0.1:9001/var/html/$1
  8.  
  9. <VirtualHost *:80>
  10. ProxyPassMatch ^/(.*.php(/.*)?)$ fcgi://127.0.0.1:9001/web/ee2/sites/site.com/$1
  11. ServerAdmin webmaster@site.dev
  12. DocumentRoot /web/ee2/sites/site.com
  13. ServerName site.dev
  14.  
  15. #Header note X-Userid userid
  16. Header set test test
  17. Header set X-Userid test
  18.  
  19. ErrorLog /var/log/apache2/site.dev-error_log
  20. LogFormat "%h %l %{userid}n %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"" combined_with_php_userid
  21. # also tried: # LogFormat "%h %l %{X-Userid}i %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"" combined_with_php_userid
  22. CustomLog /var/log/apache2/searchenginenews.com-access_log combined_with_php_userid
  23.  
  24. <Directory /web/ee2/sites/site.com>
  25. AllowOverride All
  26. Require all granted
  27. </Directory>
  28.  
  29. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement