similar to: apache rewrite

Displaying 20 results from an estimated 3000 matches similar to: "apache rewrite"

2016 May 28
5
CentOS 6.8 Apache-2.2.15-53 re-write question
I was wondering if somebody could help me with an Apache re-write rule. Apparently CentOS 6.8 is running apache-2.2.15-53. I am trying to redirect all pages except for two pages. The apache rewrite directives in the httpd config are: RewriteEngine on RewriteCond %{REQUEST_URI}!^/test/ RewriteCond %{REQUEST_URI}!^/my-folder/ RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] These commands
2008 Jul 06
2
How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
Hi Friends, I am using Centos 5.2 and using ProxyPass to access applications running on other servers. Everything is working fine except for one of the applications I need to auto add forward slash when any user tries to access that application. For ex ProxyPass /testdiary http://testdiary.example.com/ ProxyPassReverse /testdiary http://testdiary.example.com/ If somebody
2006 Aug 13
3
Rewrite problem or routing issue?
I''m not able to access anything in public, everything seems to be going through the rails router. As a result, I can''t get to stylesheets or javascript. I''m not quite clear if this is a .htaccess problem, or a router problem. I eliminated the "catchall" route, so the last route is map.connect '':controller/:action/:id'' My .htaccess file
2006 Oct 03
4
Apache Re-Write and Directories
Howdy, I am using the ''default'' Apache 2.2 mod_rewrite rules suggested from the Web site and they are working. One thing related to static (non cluster directed) resources: If I have a directory in public called ''static'', if I request it as follows: http://www.domain.com/static/ - then it works If I request it as: http://www.domain.com/static - then it
2006 Feb 14
8
routing failures
probably something really simple but I don''t understand. Shifting to Apache to w/ fastcgi (definitely feels faster than webrick) Anyway, I set the default route in routes.rb to be map.connect '''', :controller => "placements", :action => ''list'' which worked once I figured out apache... Anyway, now that I have done that, all attempts
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
2009 Jul 23
2
apache redirect rule
Hello guys, sorry for this OT, but It seems that I am a very stupid :(. I want to achieve one simple think in apache 2.2. If users will type extensions.polarion.com I want to redirect him to extensions.polarion.com/polarion/extensions However there are following rules that apply 1) extensions.polarion.com is an virtual host alias to community.polarion.com . There is a definition inside virtual
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts, I have rail site that is running lighttpd and fcgi. I want the default domain to serve the rails application, and I also want to have a virtualhost (bugs.mysite) to resolve to a bugzilla instance. Bugzilla is basically Perl application called through CGI. I tried to find pointers on how to set fcgi to run both rails dispatcher and other cgi scripts in a different virtualhost, and
2006 May 08
5
Ruby on Rails on Linux - Any suggestions/Help?
Hi, I''m really new to RoR and I''m trying to setup a development or even production server for Ruby on Rails. I''m trying to do it on Linux Debian, but somehow, I always get this Error: Application Error - Rails application failed to start properly This was running on Debian Linux, Apache2, Mysql and FastCGI. The Tutorial I used:
2006 Sep 26
5
Expert feedback needed
Hello list, Some time ago I was looking for apache (as non balanced proxy) + mongrel configurations. Almost everybody seemed to use similar approaches (one of these could be found @ mongrel.rubygorge.org docs) with mod_rewrite. I don''t use proxy_balancer because I don''t need it at the moment (my site has pretty low traffic). This is apache configuration that I''m using
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:
2006 Apr 14
3
Rails deployment
Hi all, I''ve greated a rails application and i want to deploy it right now. I have to use a windows 2003 server.. So i installed i''ve used the following tutorial: http://wiki.rubyonrails.com/rails/pages/RailsOnWindows My application is running at : http://loc.iwsweb.nl But everytime i connect it opens a ruby process but at the end it won''t kill it. As you can see
2005 Dec 29
2
Problem with apache and rubyonrails
I am setting up my httpd.conf file so I can secure a site create in RubyonRails. The problem that I am having is: File does not exist: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index File does not exist: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index File does not exist: /usr/home/mhale/hieraki-1.0.2/public/frontpage/index So apache is reading "frontpage/index" as a
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
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see ''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too slow, I thought I''d proxy to WebBrick via Apache. I am having routing problems now with escaped slashes in the URL. Here''s my routes.rb: map.connect '''', :controller => "wiki"
2008 Mar 31
3
how to get mongrel to use maintenance.html file?
Does someone know how to tell mongrel_rails to read the public/system/maintenance.html file? -- Posted via http://www.ruby-forum.com/.
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and I must be missing something very obvious because I cannot get things working properly. Here is what I need: 1) The server must be running apache 1.3. A very large body of PHP content is currently vended by the server through 5 vhosts and I have neither the time nor resources to replace apache1 with apache2 or lighttpd. Maybe
2007 Dec 13
1
mod_proxy_balancer mod_rewrite permission issue
I started the mongrel_cluster and tried to use the RewriteRule to forward the requests to proxy_balancer just as the http://mongrel.rubyforge.org/docs/apache.html said. When I visited my site from a remote computer, I always got the error messages "Forbidden, You don''t have permission to access / on this server." Finally, I added the "Allow from all" property (in the
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
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 called