Advertisement
Powderking

Untitled

Dec 16th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. My /etc/apache2/httpd.conf looks like
  2.  
  3. <Location /sabnzbd>
  4. order deny,allow
  5. deny from all
  6. allow from all
  7. ProxyPass http://localhost:8080/sabnzbd
  8. ProxyPassReverse http://localhost:8080/sabnzbd
  9. </Location>
  10.  
  11. Alias /newznab /var/www/newznab/www
  12. <Directory /var/www/newznab/www/>
  13. Options FollowSymLinks
  14. AllowOverride All
  15. </Directory>
  16.  
  17. ------------------------------------------------------
  18.  
  19. And /var/www/newznab/www/.htaccess contains
  20.  
  21. RewriteEngine on
  22. RewriteBase /newznab
  23.  
  24. # Do not process images or CSS files further
  25. RewriteRule \.(css|jpe?g|gif|png|js|ico|mp3)$ - [L]
  26.  
  27. # Leave /admin and /install static
  28. RewriteRule ^(admin|install).*$ - [L]
  29.  
  30. # Rewrite web pages to one master page
  31. RewriteRule ^([^/\.]+)/?$ index.php?page=$1 [QSA,L]
  32. RewriteRule ^([^/\.]+)/([^/]+)/?$ index.php?page=$1&id=$2 [QSA,L]
  33. RewriteRule ^([^/\.]+)/([^/]+)/([^/]+)/? index.php?page=$1&id=$2&subpage=$3 [QSA,L]
  34.  
  35. ------------------------------------------------------
  36.  
  37. /etc/apache2/sites-available/newznab
  38.  
  39. <VirtualHost *:80>
  40. ServerAdmin webmaster@localhost
  41. ServerName media-server
  42.  
  43. # These paths should be fine
  44. DocumentRoot /var/www/newznab/www
  45. ErrorLog /var/log/apache2/error.log
  46. LogLevel warn
  47. </VirtualHost>
  48.  
  49.  
  50. ------------------------------------------------------
  51.  
  52. /var/log/apache2/error.log
  53.  
  54. [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
  55. [Sun Dec 16 16:04:34 2012] [error] [client 192.168.1.65] File does not exist: /var/www/nnplus/install
  56. [Sun Dec 16 16:31:28 2012] [notice] caught SIGTERM, shutting down
  57. [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
  58. [Sun Dec 16 16:31:50 2012] [error] [client 192.168.1.65] File does not exist: /etc/apache2/htdocs
  59. [Sun Dec 16 17:00:22 2012] [notice] caught SIGTERM, shutting down
  60. [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
  61. [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
  62. [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
  63. [Sun Dec 16 17:07:09 2012] [notice] caught SIGTERM, shutting down
  64. [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
  65. [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
  66. [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