Re: [users@httpd] CGI script with & without dash in name on Apache 2.0.55

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to run PHP and coldfusion pages on few sites hosted on my Apache
web server. How can i configure this, that only few sites should run
these pages while others should deny for it from the same web server.
Plz. reply me if you know any thing about.

Thanks,

On Wed, 2006-02-15 at 11:11, André Malo wrote:
> * "Jan van den Berg" <jan.vandenberg@xxxxxxxxxxxxx> wrote:
> 
> > www.site.com/cgi-bin/nph?width=5&link=http://www.hitsite.com
> > 
> > This runs perfectly. However when I rename the program from 'nph' ->
> > 'nph-hits' (same UID/GID and system rights) and I run it my browser asks
> > what to do with the file ("octet-stream save as/open with")?!?! So like
> > this:
> > 
> > www.site.com/cgi-bin/nph-hits?width=5&link=http://www.hitsite.com
> > 
> > The content of the script and all the rights are exactly the same?!
> > However Apache seems to be handling it differently. I am running Apache
> > 2.0.55 with just plain perl 5.8.4 (no mod_perl).
> 
> mod_cgi has a feature called 'nph-scripts'. All output from scripts named
> 'nph-*' is not parsed according to the CGI/HTTP rules, but passed directly to
> the browser. nph stands for 'no parsed header'.
> 
> Yes, this feature is badly documented and kind of a legacy one.
> 
> nd
> 
> ---------------------------------------------------------------------
> 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
> 


---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux