httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Richards <>
Subject [users@httpd] proxy only asp files
Date Fri, 14 Apr 2006 14:34:33 GMT
hello :)

been playing around LOTS with different setups and everything and i had 
a sudden brainwave the other day and it worked :D ... kinda !

what i have currently got setup is this ...

[root@CTR002 root]# cat /usr/local/httpd/cgi-bin/asp-proxy
# disable filename globbing
set -f
echo "Content-type: text/html; charset=iso-8859-1"
/usr/local/bin/lynx --source$PATH_INFO?$QUERY_STRING

and in the apache config file i have this ..

Action application/x-httpd-asp /cgi-bin/asp-proxy
Addhandler application/x-httpd-asp .asp

This all works fine with GET post requests but dosn't work with POST 
another thing that dosn't work is cookies but i'm not tooo worried about 
them for now

i know this can all be done with perl because CGIProxy does it just just 
not in this way.

what i was wondering is does anybody know of a script that i can plonk 
in place of asp-proxy that will work,
i would make one myself but i'm not to gr8 on perl atm and it will take 
lots and lots of messing about and head banging n stuff to try n get it 

another question i got is if i cant find a script i could just use that 
one for now but i will still need the ablity parse method="POST" which i 
think is sent to stdin
so does anybody know how i can make lynx send a data string as a 
method="POST" request ...

i dont surpose
$1 | /usr/local/bin/lynx --source ... will work will it, lol

If anybody got any bright ideas please let me know,



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message