154 reputation
118
bio website
location
age
visits member for 3 years, 9 months
seen 13 hours ago

Mar
6
awarded  Popular Question
Feb
18
comment Using fastcgi_split_path_info for a userdir in nginx
Thanks! that worked. I also needed to change alias /home/$1/public_html; to alias /home/$1/public_html/;.
Feb
18
accepted Using fastcgi_split_path_info for a userdir in nginx
Feb
18
comment Using fastcgi_split_path_info for a userdir in nginx
Ah thanks, I'll try this out. Maybe it's a basic mistake, but to me regexes are like a foreign language that I'm not really fluent in.
Feb
18
revised Using fastcgi_split_path_info for a userdir in nginx
edited tags
Feb
18
awarded  Critic
Feb
18
asked Using fastcgi_split_path_info for a userdir in nginx
Feb
18
comment PHP file downloaded instead of executed with nginx try_files
How would you get this working in a UserDir?
Nov
20
awarded  Scholar
Nov
20
comment PHP file downloaded instead of executed with nginx try_files
Thanks a lot - this worked! I omitted the /wp-admin rewrite because this is actually an Indexhibit site, not Wordpress.
Nov
20
accepted PHP file downloaded instead of executed with nginx try_files
Nov
20
comment PHP file downloaded instead of executed with nginx try_files
Thanks for pointing that out. What is the solution, then? I'm looking at the "Proxy Everything" examples here: wiki.nginx.org/Pitfalls (in the 'good' section), but neither of them is what I need. This is just a typical Wordpress-like pretty URLs situation.
Nov
20
revised PHP file downloaded instead of executed with nginx try_files
added 9 characters in body
Nov
20
comment PHP file downloaded instead of executed with nginx try_files
@HrvojeĊ poljar I did that, and then I get a 404 when accessing the menu links (e.g. oliviataussig.com/moving). I want to fall back to /index.php since that script will handle the request and route everything appropriately. I don't want to give a 404.
Nov
20
revised PHP file downloaded instead of executed with nginx try_files
edited title
Nov
20
asked PHP file downloaded instead of executed with nginx try_files
Nov
20
comment Why are my PHP files downloading instead of processing with Nginx
After adding the correct MIME type, my PHP files are now displayed in the browser instead of getting downloaded, but they still aren't getting executed.
Mar
10
awarded  Tumbleweed
Mar
3
asked nginx: getting try_files to work with home dir alias
Mar
27
awarded  Famous Question