Re: Problem with running CGI script (testeSecurity.cgi.en_US)

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

 



Could you please help me someone with that issue?

Best regards
Petr

Dne 15. února 2012 14:16 Petr Hracek <phracek2@xxxxxxxxx> napsal(a):
> Dear users,
>
> on my apache2 server (2.2.21) I have problem with running CGI script.
>
> On that server are "installed" multilanguage pages like each page contains:
> index.shtml.en_US
> index.shtml.de
> index.var for selection relevant language.
> MultiView options are disable at all over Options -MultiViews
>
> HTML pages are OK and shown correctly.
>
> In the RewriteRule section are mentioned rows:
> RewriteRule ^(.*)\.shtml$ $1.var [NS]
> RewriteRule ^(.*)\.html$ $1.var [NS]
>
> Directory Index looks like:
> DirectoryIndex index.shtml index.html index.var index.cgi
>
> In my /opt/application/htdocs/cgi-bin directory I have following contents:
> linux:/opt/application/htdocs/cgi-bin # ls testSecurity.cgi.*
> testSecurity.cgi.de
> testSecurity.cgi.en_US
> linux:/opt/application/htdocs/cgi-bin #
>
> When I write down URL to browser
> https://<ip_address>/appl/cgi-bin/testSecurity.cgi&act=server
> then it log I see:
> [Wed Feb 15 14:42:07 2012] [info] Initial (No.1) HTTPS request
> received for child 14 (server portal:443)
> [Wed Feb 15 14:42:07 2012] [info] auth_handler: 'GET'
> '/appl/cgi-bin/testSecurity.cgi'
> [Wed Feb 15 14:42:07 2012] [error] [client 127.0.0.1] script not found
> or unable to stat: /opt/appl/htdocs/cgi-bin/testSecurity.cgi
>
> That's ok because of file testSecurity really does not exists on the system.
> When I copy testSecurity.cgi.en_US to testSecurity.cgi then CGI script is run.
>
> Do you have any idea how to run multilanguage scripts?
> To CGI script are inserted some parameters like is mentioned above.
>
>
> --
> Best Regards / S pozdravem
> Petr Hracek



-- 
Best Regards / S pozdravem
Petr Hracek

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