Displaying 20 results from an estimated 191 matches for "mod_rewrit".
Did you mean:
mod_rewrite
2007 Dec 29
2
Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"
Hello,
Spend hours attempting to password protect a web directory-
mod_rewrite enabled on httpd.conf file. Seek ideas please
Stephen
Stephen Goldman
System Administrator
MIT Biology
sgoldman at mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20071229/dbc2e751/attachm...
2005 Oct 10
1
Need help from Apache mod_rewrite crew !
Hi !
Has anyone got any tips/tricks on running a Productized Rails app on
DreamHost ?
Specifically, I get this in my error.log:
-----------
[Mon Oct 10 11:39:46 2005] [error] [client 69.70.225.69]
mod_rewrite: maximum number of internal redirects reached. Assuming
configuration error. Use ''RewriteOptions MaxRedirects'' to increase the
limit if neccessary.
-----------
As suggested, I know there''s something wrong with the rewrite
conditions. According to Apache''s d...
2016 May 28
2
CentOS 6.8 Apache-2.2.15-53 re-write question
...writeCond: 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. And you probly want
> a trailing [OR] parameter. See
>
> https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond
I did the suggested changes and indeed the syntax error goes away but
the code does not work. The redirection takes place for all the pages
even for those specified in the RewriteCond lines. My immediate syntax
error problem is solved. It is funny how I stared at these lines f...
2005 Jul 29
0
Fwd: Products and mod_rewrite
...message:
> From: Duane Johnson <duane.johnson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Date: July 29, 2005 8:59:30 AM MDT
> To: Steve Sloan <steve-2FdKsI0tZ45AfugRpC6u6w@public.gmane.org>, rails-1W37MKcQCpIf0INCOvqR/pqQE7yCjDx5@public.gmane.org
> Subject: Re: Products and mod_rewrite
>
>
>
> On Jul 28, 2005, at 2:25 PM, Steve Sloan wrote:
>
>
>> Well, I finally got around to using the rails_product and site
>> generators to rework my site(s), but I''ve run into a nasty problem
>> with mod_rewrite and the rules for fetching site-s...
2006 Jul 02
0
Use mod_rewrite rules instead of rails-routes
Hi
I am trying to use mod_rewrite rules instead of rails routes (don''t ask
why.., routes are not flexible enough in my case):
Basically I have these two RewriteRules in my .htaccess file:
RewriteRule ^(.*\/)*index\.([0-9]+)\.([0-9]+)\.html$
/keywords/show?id=$2&page=$3
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
So...
2007 Dec 13
1
mod_proxy_balancer mod_rewrite permission issue
...BalancerMember http://127.0.0.1:8003
Order allow,deny
Allow from all
</Proxy>
then the "Forbidden" problem was solved.
The "all" could not be changed to "127.0.0.1" or others. I guest this should
be related with the implement detail of the mod_rewrite.
My question is, could this "Allow from all" be a latent security problem?
and is there anybody faced the same issue?
Could I miss something through the configuration or did the mongrel-apache
document miss something?
I am sorry my English is not very good.
Best wishes everyone,
Alfi...
2008 Jun 04
2
mod_rewrite issue
I'm installing Drupal 6.2 in the document root of a CentOS 5 install using
httpd-2.2.3-11.el5_1. I'm using a virtual host entry with the following
rewrite rule to enable "clean" URLs:
RewriteRule ^(.*)$ index.php?q=$1 [R,L,QSA]
This works fine expect the user still sees the "ugly" URL in the address
bar. However, if I remove the R, it breaks completely. Any clues? I
2009 Mar 26
0
Passenger 2.1.2 and mod_rewrite
Hey.
Is anybody has working mod_rewrite with passenger 2.1.2 ? Redirects
work, but rewrites not.
I have rewrite logging on, and it looks like ''local path'' rewrites
just fine, but rails can''t see it.
Thanks.
FaziBear.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you...
2006 May 17
1
Apache config: Two different rails apps using same domain name (mod_rewrite issue)
...OST} !^(www\.)?mycoolapp\.com? [NC]
RewriteRule ^(.*)$ /home/user/apps/usersite/public/$1
</VirtualHost>
I could see the main site (www.mycoolapp.com) -- it loads up fine. For the
user site, the rails application error page is displayed, and the following
entry in my apache error log:
mod_rewrite: maximum number of internal redirects reached. Assuming
configuration error. User ''RewriteOptions MaxRedirects'' to increase the
limit if necessary.
My erroneous rewrite statements above is the problem. Anyone has ideas out
there? Thanks.
2008 Jul 19
2
Resolved: Apache + CGI/FastCGI + mod_rewrite
This is the last time I try to fix something in the middle of the
night! Feel free to call me a Stupid Snake, ''cause this has been
messy. Anyway, I think I''ve finally solved this.
Here it is: http://pastie.org/237138 :-)
--
Magnus Holm
2006 Feb 22
1
Urgent help needed
...x 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 online ASAP.
Here''s my .htaccess :
---------------------------------------------------
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^(.*)$ /scgi-bin/%{REQUEST_URI} [QSA,L]
---------------------------------------------------...
2008 Jan 12
6
php proxy exists?
Wondering if anyone''s heard of a php script that will ''forward'' your
requests on to, say, a mongrel instance, and return it? Kind of a php
fcgi? Thoughts?
Thanks.
-Roger
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2016 May 28
0
CentOS 6.8 Apache-2.2.15-53 re-write question
...t 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. And you probly want
>> a trailing [OR] parameter. See
>>
>> https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond
> I did the suggested changes and indeed the syntax error goes away but
> the code does not work. The redirection takes place for all the pages
> even for those specified in the RewriteCond lines. My immediate syntax
> error problem is solved. It is funny how I stared...
2006 Mar 01
1
Typo in a sub directory
Hello experts,
I have a rails project at http://domain.com
I would like to install typo at http://domain.com/blog
Is this possible?
I have gotten it installed and using mod_rewrite I can get to the home page.
My mod_rewrite takes everything after blog/ in the url and passes it to typo.
The issue I am having is that all Typo assets are relative and they use link like:
/stylesheets/theme/local.css
Is there a convenient way that I can force Typo (or other ROR projects) to u...
2007 Nov 23
2
Unable to read anything from request.remote_ip
...heck
for these before falling back to REMOTE_ADDR. HTTP_X_FORWARDED_FOR may
be a comma- delimited list in the case of multiple chained proxies; the
first is the originating IP.
The system is running on the Mongrel Cluster behind Apache 2.2 with
# mod_proxy, mod_proxy-html, and mod_proxy_balancer
# mod_rewrite
# mod_deflate
# mod_headers
(setup: http://mongrel.rubyforge.org/docs/apache.html)
Would it be due to:
1) IPv6 or Asian IP addresses?
2) mod_proxy or mod_rewrite??
3) ....
Any insight?
--
Posted via http://www.ruby-forum.com/.
2009 Jun 22
1
Action caching with multiple domains
...or
example mysite.com and www.mysite.com will have different cache directories.
It seems like it should be easy to force these into a single cache
directory. But I have not been able to puzzle this one out. Is there a
config variable that can be set to override the url or is this best handled
with mod_rewrite? I have played around with mod_rewrite in an effort to fix
this issue, with no results to this point.
Any help is appreciated.
--Tim Riendeau
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk...
2006 Feb 10
3
robots.txt best practices
I''d been ignoring this error message in my log for a while:
ActionController::RoutingError (Recognition failed for "/robots.txt"):
I had never touched robots.txt. So I decided to make it a proper robots.txtfile
I found this great article...
http://www.ilovejackdaniels.com/seo/robots-txt-file/
...where Dave explains the ins and outs of the file.
Before I changed mine, I
2006 Aug 14
8
How search engine friendly are RoR sites?
I am a total RoR virgin, and took my first steps this weekend into the
Ruby world. A lot of sites I create need to be as SEO friendly as
possible, particularly for google. Before I delve any further, can
anyone tell me how friendly the dynamic URLs or if there is the usual
rewrite mod for rugby?
Thanks
Mike
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
5
mysql lost connection
...got this
error in my production.log:
ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL
server during query: SET NAMES ''utf8''):
Config:
Debian Sarge (last updated), Rails 1.1.2, Webrick,
mysqld Ver 4.1.11-Debian_4sarge2 for pc-linux-gnu on i386
apache2 with mod_rewrite and webrick as proxy on 8080.
Is there a chance to get this configuration working ? I have the same
environment on my dev machine and everything is OK on it...
When I connect on this MySQL server using mysqlclient and type the
same command : set names ''utf8'', everything works !...
2006 Aug 10
4
Telling Apache Not to Send a Sub-Directory to the Cluster
Howdy,
I am using Apache 2.2 and Mongrel with great success.
I have a mod_rewrite question and I am NO expert. I think it''s really simple
but I haven''t nailed it. I was hoping someone here could help.
I''m using Apache conf right out of the cluster example from the Mongrel
site.
I have a directory under my apps ''public'' directory ca...