Advertisement
Guest User

Untitled

a guest
Apr 15th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. DBDriver mysql
  2. DBDParams "host=localhost port=3306 dbname=apache user=myuser pass=mypass"
  3. DBDMin 2
  4. DBDKeep 4
  5. DBDMax 10
  6. DBDExptime 300
  7. ...
  8. # A virtualhost
  9. <VirtualHost *:80>
  10. ServerName subdomain.domain.com
  11. ServerAdmin mymail@gmail.com
  12.  
  13. <Location />
  14. AuthName "Identification to my page"
  15. AuthType Basic
  16. AuthBasicProvider dbd
  17.  
  18. # Also tried this line, replacing the other AuthDBDUserPWQuery below, but no luck
  19. #AuthDBDUserPWQuery "SELECT encrypt(password) AS password FROM password WHERE username=%s"
  20.  
  21. AuthDBDUserPWQuery "SELECT `password`.`password` FROM `apache`.`password` WHERE `password`.`username`=%s"
  22. Require valid-user
  23. </Location>
  24.  
  25. <Proxy *>
  26. Order deny,allow
  27. Allow from all
  28. </Proxy>
  29.  
  30. ProxyRequests Off
  31. ProxyPreserveHost On
  32. ProxyPass "/" "http://192.168.1.5:32400/"
  33. ProxyPassReverse "/" "http://192.168.1.5:32400/"
  34.  
  35. RewriteEngine on
  36. RewriteCond %{REQUEST_URI} !^/web
  37. RewriteCond %{HTTP:X-Plex-Device} ^$
  38. RewriteRule ^/plex/$ /web/$1 [P]
  39. </VirtualHost>
  40. ...
  41.  
  42. Internal Server Error
  43.  
  44. The server encountered an internal error or misconfiguration and was unable to complete your request.
  45.  
  46. Please contact the server administrator, mymail@gmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
  47.  
  48. More information about this error may be available in the server error log.
  49.  
  50. Apache/2.2.22 (Debian) Server at subdomain.domain.com Port 80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement