similar to: Request rewriting - regular expressions

Displaying 20 results from an estimated 2000 matches similar to: "Request rewriting - regular expressions"

2006 Apr 11
0
url_for - results inconsistency ??
Hi all, I recently noticed something really weird in url_for results let''s say that we have something like this somewhere in code <pre> URL1:<%=url_for( {:action=>''foobar''}.merge({''action''=>''ohmy''}) )%> URL2:<%=url_for(
2015 Apr 30
2
búsqueda y sustitución masiva
Hola a tod en s, explico lo que estoy intentando hacer... Tengo un listado de url comprimidas de twitter, entre las cuales hay muchas repetidas, por lo que el número de registros llega a más de 15K. Por otro lado tengo otra lista de esas url únicas con su equivalente ya descomprimido llegando a un registro de 900. El problema que tengo es que estoy intentando hacer un loop para hacer la
2005 May 15
0
Multiple Questions -- Please Help
Hi All, I'd like to setup asterisk for a small call center. I need basic functionality for a small call center, including but not limited to: 1) Multiple queues with different rules for each (e.g. some queues, people may leave messages in, others people will just have to wait until the call is answered) 2) Call monitoring (all call - inbound/outbound - must be recorded) 3) Agent Barge
2010 Jul 21
1
Command that is conditional upon file retrieval: is it possible?
Hi all, I'm currently working on an R program where I have to access an FTP server to download some of the data I need. However, the people who post up the files I access are at times inconsistent with regards to time posted, if they post at all, etc.... Here's some of the code I use: library(RCurl) url1 = paste("ftp://user:password at a.great.website.com/",
2010 Mar 07
8
Parsing XML file with no style info with Hpricot
Hello, I''ve been trying for hours to parse an XML using Hpricot. Usually it''s not a problem. Here''s my simple code: #This works and outputs the proper xml data @url1 = ''http://www.sportingnews.com/stories/sportingnews/MLB/rss.xml'' @page1 = Hpricot(open(@url1)) <%= @page 1 %> #This does not work, and I''m scratching my head @url1 =
2018 Mar 11
2
Your browser do not suport oracle bi presentation services
Hi dear R users: I'm trying the following code to download an information from the web. url1 <-
2008 Aug 12
1
Problem with using read.csv with web address
Hello, I have a problem with using read.csv(). I want to read a table from the ONS neighborhood statistics website which has an address:
2004 Dec 14
1
Revisiting the rewriting
Since the WEBrick server has been so beefed up in Rails 0.9, I think it''s a darn shame that its lingering outside the support of custom pretty URLs. Also, it seems that the connection between mod_rewrite and url_for and friends is pretty fuzzy for most people. Hence, as we''ve talked about before, the rewriting of the url should be pulled in-house. There has been a few
2018 Mar 11
0
Your browser do not suport oracle bi presentation services
On Sun, Mar 11, 2018 at 09:12:56AM -0500, KENNETH ROY CABRERA TORRES wrote: > Hi dear R users: > > I'm trying the following code to download an information from the web. > > url1 <-
2006 Feb 21
2
validates_format_of :url, regexp?
Hey, Does anybody have a regexp for validating URLs? I found this one and am trying to adapt it: ^(((ht|f)tp(s?))\:\/\/)?(www.|[a-zA-Z].)[a-zA-Z0-9\-\.]+\.(com|edu|gov|mil|net|org|biz|info|name|museum|us|ca|uk)(\:[0-9]+)*(/($|[a-zA-Z0-9\.\,\;\?\''\\\+&%\$#\=~_\-]+))*$ (http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_21245168.html) I also found this one, but, um,
2005 Jul 29
0
Fwd: Products and mod_rewrite
It appears this message bounced somehow, so I''m resending. Apologies if it is a dup. Begin forwarded 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:
2016 May 28
0
CentOS 6.8 Apache-2.2.15-53 re-write question
Am 28.05.2016 um 22:08 schrieb Paul R. Ganci: > 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
2007 Dec 10
1
[Problem] [Centos 5] Samba-3.0.23c-2 login authentication problem
Hello, I have comfigured samba-3.0.23c-2 server on CentOS-5, but when i was logging in from the client system, even if I donot provide password and hit enter key, the client is logging in as Anonymous user. Samba server should not allow for Anonymous login. (I am configuring linux (Server) to linux (Client) i am not using windows) 1) The contents of /etc/samba/smb.conf file as follows,
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 I want /foo/bar/index.123.4.html rewritten to
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
2008 Feb 20
0
appdb feature request: hide the ugly urls
Remco wrote: > That's relatively easy to do with mod_rewrite. But it would have to be something like: > > http://appdb.winehq.org/app/128/adobe-premiere.html > > All the info is still in the URL (which mod_rewrite can extract), but it does look less scary. > > Remco No, you can use a rewrite map to do that. Take a look at
2006 Jan 05
0
nooby Q--default page for RoR changed?!
hi, simple issue i''m sure--i''m a ruby & rails nooby--but for some reason the sample app that i''ve been running/building from the Agile Web Dev w/ Rails book changed from a (nicely) formatted HTML page, with a link that would try to show my application status, to the text i list below--with the first line in larger typeface than the rest, but otherwise plain
2007 Nov 23
2
Unable to read anything from request.remote_ip
For some users, request.remote_ip always return nil. According to the RAILS''s help: REMOTE_ADDR is the standard but will fail if the user is behind a proxy. HTTP_CLIENT_IP and/or HTTP_X_FORWARDED_FOR are set by proxies so check 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
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:
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