148 reputation
116
bio website
location
age
visits member for 3 years, 6 months
seen Dec 4 at 22:06

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
Oct
20
awarded  Notable Question
Sep
20
awarded  Popular Question
Aug
19
awarded  Student
Aug
18
revised nginx fastcgi “Primary script unknown” when configuring userdir
edited title
Aug
18
comment nginx fastcgi “Primary script unknown” when configuring userdir
Thanks for the suggestion! I'm a little closer now, but still getting the exact same error.
Aug
18
revised nginx fastcgi “Primary script unknown” when configuring userdir
added 1 characters in body
Aug
18
revised nginx fastcgi “Primary script unknown” when configuring userdir
added 19 characters in body
Aug
18
awarded  Editor