forward

Piping a list into the line in F#

Hi, Now I can add single value or tubles to the pipeline, my next question is can I add a list/array: filesUnderFolder |> Seq.map FileInfo my problem is I can't process this with pipeline |>, or can I? Assembly.GetExecutingAssembly.GetFiles() |>Array.map (fun file -> file.ReadAllText().Contains(keyword)) ...

Apache rewrite request using a different forward proxy

Hi, I would like to forward a request in Apache, based on a request header, to a different forward proxy. I think the best would be to use mod_rewrite, but it can use only a reverse proxy defined in the same apache configuration. I also checked the ProxyRemote property of mod_proxy but it can't be used based on conditions, only based o...

creating email forwarding accounts on the fly using PHP

Hi, i was wondering if it was possible to create email forwading accounts on the fly as I have created subdomains for uses profiles i.e. user.profile.com and was wondering if I could create [email protected] to forward to their email account? Regards, Phil ...

accessing google maps via UIWebView - illegal?

New to iPhone development. Working on first app. I'm accessing google maps via UIWebView to forward geocode an address using "http://maps.google.com/maps?q=my address". It works, although it has this quirk of requiring you to hit "Back" button and then the "Detail" button (provided by the navigation bar) to get back to the screen from...

Android forwards compatibility

Hi all, I just published my first application to the market, but i just found out that android.telephony.gsm.smsmanager was depreciated as of Android 1.6. My application depends on sending SMS messages, so it cannot not work in 1.6 or newer. I built the project against 1.5, but I only have a device with 1.5 to test on. Since I built o...

Call an external web service from a servlet

Hi, I'm developing a servlet that gets a name of a web service and could be forward the request to an external web service, for example: http://www.webservice.com/... I have build a response wrapper that intercept response output but I can't forward request to an external web service, it works only if I redirect the request to a servlet...

message forwards settings in mail

Is there a way in qmail to set forward messages. Like for instance a support person might leave the company and if a client sends a mail to his id then a mail should be send asking him to use another mail id i.e the id of the person to whom work has been transferred. ...

Zend_Controller_Action_Exception from preDispatch()

How to I redirect to 404 page ("page not found") at preDispatch? Normally within action I can simply write: throw new Zend_Controller_Action_Exception('Page is not found!', 404); And it forwards to the appropriate page. How do I make it work for preDispatch? ...

WCF Endpoint routing

Hi, Guys, how to route inbound message between different endpoints. I need to expose the single endpoint that could accept different credentials. I guess, solve this by intercept the incoming message and based on message header then do forward message to appropriate endpoint. Thanks. ...

.htaccess: Forward ALL requests to another site

Hello. I have to forward an existing website to another one. I want to forward each and every request on the old site to the root of the new site. Example: http://oldsite.tld/index.php?mode=foo&action=bar should be forwarded to http://newsite.tld/ and not http://newsite.tld/index.php?mode=foo&action=bar. Is this possible with...

Cannot access XAMPP (1.7.3) from my local network

Hi I am running XAMPP 1.7.3 on windows 7. My problem is that when I try to access my server (localhost) from another computer, the server does not respond. For example, [on my computer] when I type in 'http://localhost', my pages come up. However, when I try accessing 'http://192.168.0.102' from my computer, nothing happens. When I type...

C# recursive delegate declaration problem

* PLEASE SEE END FOR IMPORTANT EDIT * For various reasons I have something like: delegate void Task(QueueTask queueTask); delegate void QueueTask(Task task); Using Visual Studio Express 2008 this works more or less fine apart from in lambda expressions where it can't deduce if I try call and call queueTask() in the function without ...

Apache/Rails: Forwarding PKI

I have a Linux/Apache/Rails stack hosting a data service. The data service is basically a front end for multiple data sources, akin to a federated search. Queries to the service are authenticated via PKI. When handling each request, the PKI must be forwarded to each data source appropriate for the given request - each data source us...

problem using Secureforward?

I m trying to use secureforward in maplet in shine pattern.when I change my jsp it cant load my maplet.tld. I want to read a name string from user and Encrypt it with MD5 and if it was successful use secureforward("../response.jsp","success"); I place my maplet.tld in public_html\WEB-INF but it has error. here is my code in jsp page. <%...

how to make a 'forward' button using jqtouch .

i can make the 'back' button, it only use to add 'back' to the className , but ,how to make a 'forward' button ,that slide right when clicked. thanks like the 'List' in next pic, ...

Is it possible to forward or redirect from a servlet filter after the response has been comitted?

The logic is that the filter gets hit, the condition is not true, so it goes through the filter chain. After the response is committed, the filter gets hit, and the condition is now true (a request attribute was set). It goes in to execute the forward, but the page never forwards. I know this has something to do with the response being c...

Redirecting after writing to response throwing exception

Am working on an application which has a requirement to download bulk data from a file server with a maximum file size constraint fixed at 3 Mb.It means i would have a maximum download capacity of 3Mb.I am writing the input stream to the response output stream .My problem is I need to redirect my response to a jsp page after I downlaod.N...

Apache forward everything to Tomcat except webmail

I have my Apache HTTP server set up to forward all requests to Tomcat, i.e. proxy_ajp.conf looks like: ProxyPass / ajp://localhost:8009/ where Tomcat is listening on port 8009. This works find except when I try to access squirrelmail (i.e. webmail) on the server. Is there a way to forward all requests to Tomcat except those going to...

How to handle request on the page that was previously forwarded by servlet?

Hi, I have a JSP page that has 2 forms running on Tomcat 6. One is register form, Second is login form. (please pay attention to context path, it's going to kill me later) (regis_and_login.jsp) <% String path = request.getContextPath(); %> //regis form <form id="regis_form" name="register_form" action="<%= path %>/servle...

Port Forward Directly to a Guest OS with VirtualBox

Hi all, I am currently using Ubuntu 10.04 for some rails development. It is installed as a guest machine using VirtualBox on a Windows 7 x64 host. Within Ubuntu, I am trying to port tunnel several ports from a remote server directly to the Guest OS in order to avoid having to download a remote database. Let's say I want to forward po...