Jump to content

loook

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by loook

  1. Hi Adrian, thanx a lot for your suggestions and sorry for the delay, I had to focus on other stuff recently. I went through the posts and those that are included in them and basically tried to google all info about this issue. Unfortunatelly I wasn't able to solve it. It's probably due to my insufficient knowledge of how nginx works. But as I wrote, with another CMS (MODX), it works fine, all routes and subroutes are accessible. One hint for those testing on Windows, localhost, I created a bat files to start/stop MySQL, nginx and PHP (sth. like start-server.bat and stop-server.bat) and they HAVE TO BE placed in the same dir as nginx.exe, as someone suggested somewhere, to avoid error messages and enable running nginx properly, just remember this. If anyone bumped into the same problem, that subroutes are not accessible, and found a solution, a suggestion would be appreciated. Thanx a lot again. Luke
  2. Hi guys, I just bumped into the same problem, only I'm running PW on Windows (host: localhost) through nginx. I can access the page but cannot access the admin section or any other subroute, there I get 404 error page of nginx. I gues it's a problem of my nginx.conf file. Here's what I have in nginx.conf: http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; server { listen 80; server_name localhost; root c:/htdocs; index index.php index.html index.htm; client_max_body_size 50M; location ~ /\.ht { deny all; log_not_found off; access_log off; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } location ~ \.php$ { try_files $uri =404; #fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SERVER_NAME $http_host; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_ignore_client_abort on; include fastcgi_params; } } } I have the docroot in C:\htdocs and there are folders for different projects using different technologies. Another CMS is running smoothly including subroutes. Thanks a lot for any suggestion or solution. Luke
×
×
  • Create New...