You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sa...@seagate.com on 2002/05/07 20:31:50 UTC

listening on additional ports

Hi All,
I would like to setup my apache servers so that they listen on additional
ports. Let's say port 9620. On port 9620 the apache should serve the normal
HTML content, but if it encounters a PHP/CGI script, it should just send
the script without parsing/redering it.

Is it possible to do this on apache?

Saqib Ali
=======================
"Do you believe in intuition?" "No, but I have a strange feeling that
someday I will."



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: listening on additional ports

Posted by Artiom Morozov <ar...@phreaker.net>.
yes, possible. simply declare another virtual host with another port 
and same document root and force content type to be text/plain or 
text/html for cgis and phps.

îÁ 2002.05.07 21:31 Saqib.N.Ali@seagate.com ÎÁÐÉÓÁÌ:
> Hi All,
> I would like to setup my apache servers so that they listen on
> additional
> ports. Let's say port 9620. On port 9620 the apache should serve the
> normal
> HTML content, but if it encounters a PHP/CGI script, it should just
> send
> the script without parsing/redering it.
> 
> Is it possible to do this on apache?
> 
> Saqib Ali
> =======================
> "Do you believe in intuition?" "No, but I have a strange feeling that
> someday I will."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org