![]() |
Running TYPO3 4.6.x On Nginx (LEMP) On Debian Squeeze
Hi,
I have a question regarding this tutorial http://www.howtoforge.com/running-ty...e-ubuntu-11.10 First, it is a great tutorial and it helped me to get Typo3 running with nginx. But now I want to serve my typo3 project not from a 'global' domain or subdomain but from a sub folder like www.example.com/partner. I have two nginx servers. The first server gets a request www.example.com/partner and sends it 1:1 to nginx server two (where my typo3 project is located under /var/www/example), this is from the access log of server two Quote:
Here is the entire config: http://dpaste.com/739744/ Any ideas whats wrong? I did chown -R www-data:www-data /var/www/www.example.com/web so this should not be the problem. |
Try this instead:
Code:
server { |
thanks for reply. but I get still the 403 error :(
|
If you change
Code:
location ~ \.php$ {Code:
location ~ \.php$ { |
It works now with this config. Actually it seems to be the same config. I just worked on it a bit and suddenly it worked.
Code:
server {When I go to the backend https://www.example.com/partner/backend.php it redirects me to https://www.example.com/backend.php. And firebug shows stuff like Quote:
|
Can you change
Code:
location @nocache {Code:
location @nocache { |
Changed, reloaded nginx, same problem. when I go to example.com/partner/typo3/index.php it redirects me to example.com/backend.php
when I open example.com/partner it redirects me to example.com/home but it should be example.com/partner/home |
| All times are GMT +2. The time now is 09:51. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.