Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DBDriver mysql
- DBDParams "host=localhost port=3306 dbname=apache user=myuser pass=mypass"
- DBDMin 2
- DBDKeep 4
- DBDMax 10
- DBDExptime 300
- ...
- # A virtualhost
- <VirtualHost *:80>
- ServerName subdomain.domain.com
- ServerAdmin mymail@gmail.com
- <Location />
- AuthName "Identification to my page"
- AuthType Basic
- AuthBasicProvider dbd
- # Also tried this line, replacing the other AuthDBDUserPWQuery below, but no luck
- #AuthDBDUserPWQuery "SELECT encrypt(password) AS password FROM password WHERE username=%s"
- AuthDBDUserPWQuery "SELECT `password`.`password` FROM `apache`.`password` WHERE `password`.`username`=%s"
- Require valid-user
- </Location>
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- ProxyRequests Off
- ProxyPreserveHost On
- ProxyPass "/" "http://192.168.1.5:32400/"
- ProxyPassReverse "/" "http://192.168.1.5:32400/"
- RewriteEngine on
- RewriteCond %{REQUEST_URI} !^/web
- RewriteCond %{HTTP:X-Plex-Device} ^$
- RewriteRule ^/plex/$ /web/$1 [P]
- </VirtualHost>
- ...
- Internal Server Error
- The server encountered an internal error or misconfiguration and was unable to complete your request.
- 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.
- More information about this error may be available in the server error log.
- Apache/2.2.22 (Debian) Server at subdomain.domain.com Port 80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement