154 reputation
118
bio website
location
age
visits member for 3 years, 9 months
seen Mar 26 at 18:43

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
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
comment PHP file downloaded instead of executed with nginx try_files
How would you get this working in a UserDir?
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
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
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
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.
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
comment nginx fastcgi “Primary script unknown” when configuring userdir
@MichaelHampton I just added that info