httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Hracek <phrac...@gmail.com>
Subject [users@httpd] Re: Problem with running CGI script (testeSecurity.cgi.en_US)
Date Tue, 21 Feb 2012 11:50:09 GMT
Could you please help me someone with that issue?

Best regards
Petr

Dne 15. Ășnora 2012 14:16 Petr Hracek <phracek2@gmail.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message