You are looking at the right documentation, you need to add rules that are custom to your situation. For example if your web server serving the JS is running on port 8080 a rule would look like ProxyPass /js http://localhost:8080/ On Mon, Jan 4, 2010 at 11:17 AM, DJ AM_Juicebox <dj.am.juicebox@xxxxxxxxx> wrote: > Hi, > > I'm looking to run apache as a proxy for web development. I'm running mac ox > 10.5.4, which already has apache 2.2.8 installed and running. > > I'd like to point my javascript files (which are running locally on my > machine) to: > > http://localhost/test.php > > which would hit the local apache server, then have that apache instance > forward to my real remote server: > > http://www.mysite.com/test.php > > I've looked at a few walkthroughs but they seem to be out of date. I'm > wondering if there's a recent how-to on setting this up - the doc here: > > http://httpd.apache.org/docs/2.0/mod/mod_proxy.html > > gives a basic example, but I'm not sure where that text should be added - to > http.conf? Do I simply add it there, then restart the server? > > Thanks > -- "The secret impresses no-one, the trick you use it for is everything" - Alfred Borden (The Prestiege) --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx