On Jan 2, 2013, at 23:58 , OZzzy wrote:
> Нужна catalina
>
> в конфиге :
> <Connector address="127.0.0.1" port="8080" maxHttpHeaderSize="8192"
> maxThreads="100" minSpareThreads="5" maxSpareThreads="10"
> enableLookups="false" redirectPort="443" acceptCount="100"
> connectionTimeout="20000" disableUploadTimeout="true" />
>
> сейчас такая конфигурация в nginx:
> -------------------------------------------------------------
> server {
> listen X.X.X.X:35002;
> access_log /var/log/snow/admin_access.log;
> location /snow {
> root /opt/jakarta-tomcat-5.5.9/webapps;
> index index.jps index.php index.html index.htm; }
index.jps вместо index.jsp.
> location ~ \.jsp$ {
> fastcgi_pass 127.0.0.1:9000;
> fastcgi_index index.jsp;
> fastcgi_param SCRIPT_FILENAME
> /opt/jakarta-tomcat-5.5.9/webapps$fastcgi_script_name;
> include fastcgi_params;
> allow X.X.X.X;
> allow X.X.X.X;
> deny all;
> }
> location ~
> /\.(ht|svn|cvs|hg|txt|log|class|cgi|xml|conf|config|properties|jar) {
> deny all;
> }
> }
> ------------------------------------------------------------
>
> Ответ в браузере:
> 404 Not Found
>
> nginx/0.7.67
--
Igor Sysoev
http://nginx.com/support.html
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru