search for: rewritelog

Displaying 20 results from an estimated 29 matches for "rewritelog".

2007 Jun 03
6
mongrel cluster w/ apache
...ost *:555> ServerName thealarmlights.net DocumentRoot /usr/local/www/weposs/current/public <Directory "/usr/local/www/weposs/current/public" > Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> RewriteEngine On RewriteLog logs/weposs_rewrite_log RewriteLogLevel 9 # Check for maintenance file and redirect all requests RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /system/maintenance.html [L] # Rewrite index to check for static...
2007 Jun 03
3
mongrel cluster w/ apache
...t;VirtualHost *:555> ServerName thealarmlights.net DocumentRoot /usr/local/www/weposs/current/public <Directory "/usr/local/www/weposs/current/public" > Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> RewriteEngine On RewriteLog logs/weposs_rewrite_log RewriteLogLevel 9 # Check for maintenance file and redirect all requests RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /system/maintenance.html [L] # Rewrite index to check for static Rewr...
2016 May 28
2
CentOS 6.8 Apache-2.2.15-53 re-write question
On 05/28/2016 01:35 PM, Alexander Dalloz wrote: > Am 28.05.2016 um 21:03 schrieb Paul R. Ganci: >> Starting httpd: Syntax error on line 31 of >> /etc/httpd/conf.d/olddomain.conf: >> RewriteCond: bad argument line '%{REQUEST_URI}!^/test/ > > You missed a whitespace between the server variable %{REUQEST_URI} and > the value you test against. In both cases you did.
2006 Feb 22
1
Urgent help needed
Hi, I''m on Apache 2.0.54, Linux Fedora Core 2 with Plesk. I installed a Rails application previously on the box using SCGI and it works fine; even now. I''m trying to get a second app online and it fails. Same config, except for the SCGI runner ports of course. It looks like the error comes from the fact that the mod_rewrite loops. WHY ??? BTW : I have to put this app
2007 Jan 25
6
NOT FOUND error
....myapp.tld DocumentRoot /var/www/apps/myapp/current/public <Directory "/var/www/apps/myapp/current/public"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> RewriteEngine On # Uncomment for rewrite debugging #RewriteLog logs/myapp_rewrite_log #RewriteLogLevel 9 # Check for maintenance file and redirect all requests RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /system/maintenance.html [L] # Rewrite index to check for static...
2008 Jun 16
3
Apache rewrites with mongrel
...images ! ProxyPass /stylesheets ! ProxyPass /javascripts ! Alias /images /var/www/rails/myApp/current/public/images Alias /stylesheets /var/www/rails/myApp/current/public/stylesheets Alias /javascripts /var/www/rails/myApp/current/public/javascripts RewriteLog /var/log/apache2/rails-rewrite.log And last not lease my .htaccess in public AddHandler fastcgi-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI AddDefaultCharset UTF-8 RewriteEngine On RewriteRule ^01,([0-9]*).html$ balancer://mongrel_cluster/shop/event/$1 [P,QSA,L] Re...
2016 May 28
0
CentOS 6.8 Apache-2.2.15-53 re-write question
...mind fixed the immediate problem. > > Thanks for your help, Alexander. I will take another look at what I > did and see if I can't find what else is wrong. May I suggest you enable special logging for the mod_rewrite activity? https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritelog https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriteloglevel (Btw. that has changed with Apache 2.4) With a dedicated logging of what happens for rewrites you should be able to detect what is different to your intention. Alexander
2007 Jun 22
0
Mongrel_cluster and rails app in a subdirectory
...Limit Order allow,deny Allow from all </Directory> <Directory "/www/ror_root/public"> Options FollowSymLinks AllowOverride AuthConfig Limit Order allow,deny Allow from all </Directory> RewriteEngine On RewriteLog /www/logs/rewrite.log ProxyPass /railsapp/ balancer://railsapp ProxyPass /railsapp balancer://railsapp ProxyPassReverse /railsapp/ balancer://railsapp ProxyPreserveHost On <Proxy balancer://railsapp> BalancerMember http://127.0.0.1:8008 BalancerMember http://127.0.0.1:8009 </...
2007 Mar 29
0
Resolved problem with Apache Load Balancer Manager
...l Config: <VirtualHost *:80> DocumentRoot PATH_TO_MY_APP/public <Directory "PATH_TO_MY_APP/public"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> RewriteEngine On # Uncomment for rewrite debugging #RewriteLog logs/myapp_rewrite_log #RewriteLogLevel 9 # Check for maintenance file and redirect all requests # ( this is for use with Capistrano''s disable_web task ) RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$...
2005 May 13
0
Apache config for Squirrelmail?
...must be placed in the appropriate # configuration files as well. # Alias /webmail /usr/share/squirrelmail <Directory /usr/share/squirrelmail> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> RewriteEngine on RewriteLog "/var/log/httpd/rewrite_log" RewriteLogLevel 0 # AIDE-MEMOIRE # Arguments $1, $2 etc. refer to () matches in the # CURRENT RewriteRule line. # Arguments %1, %2 etc. refer to () matches in the # LAST matched RewriteCond. # Do not process established ssl squirrelmail session...
2007 Dec 11
0
problems using auth_ntlm_winbind_module
...he config NameVirtualHost *:80 <VirtualHost *:80> #DocumentRoot /srv/www ServerAdmin robert@redcor.ch ServerName intranettest.zehndergroup.com CustomLog /var/log/httpd/intranet-access.log combined ErrorLog /var/log/httpd/intranet-error.log LogLevel debug RewriteLog "/var/log/httpd/rewrite_log" RewriteLogLevel 2 <Location "/"> AuthName "NTLM Authentication thingy" NTLMAuth on NTLMAuthHelper "/usr/bin/ntlm_auth \ --helper-protocol=squid-2.5-ntlmssp -d10 -l/root" N...
2006 Nov 13
1
Service Temporarily Unavailable when using apache
...o www.myapp.com, not myapp.com RewriteCond %{HTTP_HOST} ^myapp.com$ [NC] RewriteRule ^(.*)$ http://www.myapp.com$1 [R=301,L] # Yes, I''ve read no-www.com, but my site already has much Google-Fu on # www.blah.com. Feel free to comment this out. # Uncomment for rewrite debugging #RewriteLog logs/myapp_rewrite_log #RewriteLogLevel 9 # Check for maintenance file and redirect all requests RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /system/maintenance.html [L] # Rewrite index to check for static...
2006 May 10
2
Output Compression in Mongrel?
I''d like to implement output compression in Mongrel (ala Apache''s mod_deflate). I have found a Rails plugin that, with minor modification, works. Is there even an advantage to moving the output compression from the Rails app to a Mongrel handler? Unless, of course, someone knows how to configure mod_proxy_balancer with mod_deflate... == Will Green Web Developer & IT
2008 Oct 06
8
.htaccess rewrite
can someone help me with an .htaccess rewrite? i''m trying to convert all requests to "/?spot=8888" to be "/locations/ 888". thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2007 May 21
0
Apache mod_proxy mongrel_cluster and subversion http
...llowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <Proxy balancer://mongrel_cluster> BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 </Proxy> RewriteEngine On # Uncomment for rewrite debugging #RewriteLog logs/myapp_rewrite_log #RewriteLogLevel 9 # Check for maintenance file and redirect all requests RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /system/maintenance.html [L] # Rewrite index to check for static...
2006 Sep 07
8
what should be correct .conf file for being served by apache for static content
...RewriteCond %{HTTP_HOST} ^foobar.com$ [NC] > RewriteRule ^(.*)$ http://www.foobar.com$1 [R=301,L] > # Yes, I''ve read no-www.com, but my site already has much Google-Fu on > # www.blah.com. Feel free to comment this out. > > # Uncomment for rewrite debugging > #RewriteLog logs/myapp_rewrite_log > #RewriteLogLevel 9 > > # Check for maintenance file and redirect all requests > RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f > RewriteCond %{SCRIPT_FILENAME} !maintenance.html > RewriteRule ^.*$ /system/maintenance.html [L] > >...
2006 Jul 23
9
Kubuntu, Apache 2.2, Mongrel, Mongrel Cluster
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: new_notes Type: application/octet-stream Size: 5801 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/34e20e45/new_notes.obj
2007 Feb 28
0
RoR&Apache - htaccess rewrite directories fail?
On my server I have a directory at the root, /rails/ which contains other directories with rails projects. In my httpd.conf I have RewriteEngine On RewriteLog "logs/rewrite.log" RewriteLogLevel 9 RewriteCond %{REQUEST_URI} !^/rails/([^/]+)/public/ RewriteRule ^/rails/([^/]+)/?(.*)$ /rails/$1/public/$2 [QSA,L] So with a GET /rails/test/ you''d get sent to /rails/test/public/ and get the welcome screen fully functional, except for the li...
2006 Jul 24
7
Apache server-status?auto in rails
Just want to check the status of Apache monitor. but Apache server-status?auto can not be explained as normal URL in rails. For Http://localhost/server-status?auto, rails always regard server-status as one controller/method. It prompts errot: Recognition failed for "/server-status" Therefore, can not get the status info of Apache monitor. Pls expert help me!!! Thanks in advance.
2007 Feb 22
4
Modifying Apache Conf To Block Leachers
Howdy, I''m using Apache 2.2 + Mongrel with great success, using the sample configs from the Mongrel site. We have some MP3s on the site and recently someone has been stealing them and basically leaching them from the site, linking to them from an off-site location. I''ve been trying to modify my Apache conf to check the referrer and adjust accordingly as below but no