Displaying 20 results from an estimated 24 matches for "rewriteloglevel".
2007 Jun 03
6
mongrel cluster w/ apache
...ghts.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
RewriteRule ^/$ /index.html [QSA]
# R...
2007 Jun 03
3
mongrel cluster w/ apache
...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
RewriteRule ^/$ /index.html [QSA]
# Rewrite...
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.
2007 Jan 25
6
NOT FOUND error
...ps/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
RewriteRule ^/$ /index.html [QSA]
# Re...
2007 Dec 17
2
Digest Subcriber needs help with SELinux file context setting
CentOS-5.1
I need some help with setting up the SELinux context for a custom httpd
directory so that I can write log files into it. This is what I have:
In my virtual host config file:
RewriteEngine on
RewriteLog /etc/httpd/virtual.d/trac-rewrite.log
# RewriteLogLevel 0=off 1=basic 2=verbose 3+=module developer debuging
RewriteLogLevel 0
If /etc/httpd/virtual.d/trac-rewrite.log does not already exists then when
I try to start httpd I get this:
--->
# service httpd start
Starting httpd: [FAILED]
Checking /var/log/m...
2016 May 28
0
CentOS 6.8 Apache-2.2.15-53 re-write question
...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 Mar 29
0
Resolved problem with Apache Load Balancer Manager
...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 ^.*$ /system/maintenance.html [L]
# Rewrite...
2005 May 13
0
Apache config for Squirrelmail?
...es 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 sessions
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI}...
2007 Dec 11
0
problems using auth_ntlm_winbind_module
...t;
#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"
NTLMBasicAuthoritative on
AuthType NTLM
requ...
2006 Nov 13
1
Service Temporarily Unavailable when using apache
...iteCond %{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
RewriteRule ^/$ /index.html [QSA]
# Re...
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
...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
RewriteRule ^/$ /index.html [QSA]
# Re...
2006 Sep 07
8
what should be correct .conf file for being served by apache for static content
...C]
> 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]
>
> # Rewrite index to check for static
> Rew...
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 link "About your
applications environment...
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
2007 Jun 29
3
mongrel tuning with httperf - suspicious results
...[srb] TODO this next line was mentioned as a way to propogate
# an identifier to stickily preserve login information. At this
# time it seems unnecessary
#RewriteRule .* - [CO=BALANCEID:balancer.http1:.blah.com]
# Uncomment for rewrite debugging
RewriteLog logs/the_cluster_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
RewriteRule ^/$ /index.html [QSA]
# Re...
2006 Jun 24
6
apache2 on red hat linux need help anyone
...DocumentRoot /var/www/rails/demo/public
#ServerName www.example.com
ErrorLog /var/log/httpd/rail-error_log
CustomLog /var/log/httpd/rail-access_log common
# Options Indexes ExecCGI FollowSymLinks
RewriteEngine On
RewriteLog "/var/log/httpd/rewrite.log"
RewriteLogLevel 4
</VirtualHost>
------------------------ .htaccess --------------------------------
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
Rewr...
2006 May 25
5
Application stops working over night: (Errno::EPIPE (Broken pipe)) is the error
I know this question gets asked a lot but I can''t seem to find the
answer when I search through the mailing list. First off here''s my set
up.
Cent OS 4.3
Apache 2.0
Fast CGI 2.4.0
Rails 1.1
Mysql 5.0
The app starts up fine, but every morning it refuses to start and gives
me the dreaded Application error untill I reload Apache. I thought my
database was timing out so I added