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
- [Wed Dec 19 15:49:56 2012] [notice] caught SIGTERM, shutting down
- [Wed Dec 19 15:49:57 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze14 with Suhosin-Patch configured -- resuming normal operations
- [Wed Dec 19 15:50:01 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
- [Wed Dec 19 15:50:05 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