Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My /etc/apache2/httpd.conf looks like
- <Location /sabnzbd>
- order deny,allow
- deny from all
- allow from all
- ProxyPass http://localhost:8080/sabnzbd
- ProxyPassReverse http://localhost:8080/sabnzbd
- </Location>
- Alias /newznab /var/www/newznab/www
- <Directory /var/www/newznab/www/>
- Options FollowSymLinks
- AllowOverride All
- </Directory>
- ------------------------------------------------------
- And /var/www/newznab/www/.htaccess contains
- RewriteEngine on
- RewriteBase /newznab
- # Do not process images or CSS files further
- RewriteRule \.(css|jpe?g|gif|png|js|ico|mp3)$ - [L]
- # Leave /admin and /install static
- RewriteRule ^(admin|install).*$ - [L]
- # Rewrite web pages to one master page
- RewriteRule ^([^/\.]+)/?$ index.php?page=$1 [QSA,L]
- RewriteRule ^([^/\.]+)/([^/]+)/?$ index.php?page=$1&id=$2 [QSA,L]
- RewriteRule ^([^/\.]+)/([^/]+)/([^/]+)/? index.php?page=$1&id=$2&subpage=$3 [QSA,L]
- ------------------------------------------------------
- /etc/apache2/sites-available/newznab
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- ServerName media-server
- # These paths should be fine
- DocumentRoot /var/www/newznab/www
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
- </VirtualHost>
- ------------------------------------------------------
- /var/log/apache2/error.log
- [Sun Dec 16 06:25:07 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze14 with Suhosin-Patch configured -- resuming normal operations
- [Sun Dec 16 16:04:34 2012] [error] [client 192.168.1.65] File does not exist: /var/www/nnplus/install
- [Sun Dec 16 16:31:28 2012] [notice] caught SIGTERM, shutting down
- [Sun Dec 16 16:31:30 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze14 with Suhosin-Patch configured -- resuming normal operations
- [Sun Dec 16 16:31:50 2012] [error] [client 192.168.1.65] File does not exist: /etc/apache2/htdocs
- [Sun Dec 16 17:00:22 2012] [notice] caught SIGTERM, shutting down
- [Sun Dec 16 17:00:24 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze14 with Suhosin-Patch configured -- resuming normal operations
- [Sun Dec 16 17:00:45 2012] [error] [client 192.168.1.65] PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 523800 bytes) in Unknown on line 0
- [Sun Dec 16 17:00:50 2012] [error] [client 192.168.1.65] PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 523800 bytes) in Unknown on line 0
- [Sun Dec 16 17:07:09 2012] [notice] caught SIGTERM, shutting down
- [Sun Dec 16 17:07:10 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze14 with Suhosin-Patch configured -- resuming normal operations
- [Sun Dec 16 17:07:23 2012] [error] [client 192.168.1.65] PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 523800 bytes) in Unknown on line 0
- [Sun Dec 16 17:07:28 2012] [error] [client 192.168.1.65] PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 523800 bytes) in Unknown on line 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement