Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
9
Newest
 Tumbleweed
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 45 votes cast
Feb
3
comment Nginx Not Respecting File Permissions
Thanks, I never knew wp-config.php can be stored one directory level above the WordPress installation. I'll go ahead and store my files outside the web root.
Feb
3
accepted Nginx Not Respecting File Permissions
Feb
3
comment Nginx Not Respecting File Permissions
How about files like wp-config.php? Anything special I need to do in order to protect this file and other such configuration files?
Feb
3
comment Nginx Not Respecting File Permissions
I did not know that (I'm more use to Apache). There are two situations. 1) I have a file, log.txt that records the number of visitors via file_put_contents (called from script.php)--I don't want someone to be able to access log.txt via the browser. 2) I have a different file, cron.php, which is run hourly via cron--I don't want someone to be able to access cron.php via the browser.
Feb
3
comment Nginx Not Respecting File Permissions
@MichaelHampton, there are two situations. 1) I have a file, log.txt that records the number of visitors via file_put_contents (called from sript.php)--I don't want someone to be able to access log.txt via the browser. 2) I have a different file, cron.php, which is run hourly via cron--I don't want someone to be able to access cron.php via the browser.
Feb
3
revised Nginx Not Respecting File Permissions
added 87 characters in body
Feb
3
comment Nginx Not Respecting File Permissions
@MichaelHampton, I can access them in the browser.
Feb
3
asked Nginx Not Respecting File Permissions
Jul
8
awarded  Tumbleweed
Jul
3
comment Secure Port with Nginx Web Server Authentication auth_basic
@AlexeyTen, yes. Without the above directives, I am able to access the website just fine. It is just when I try to secure it with auth_basic with the above directives, that it brings me to Nginx's default page.
Jul
2
comment Secure Port with Nginx Web Server Authentication auth_basic
@AlexeyTen, yes, when I run nginx t, everything is OK. I have restarted Nginx and have even restarted the entire server, but it is still giving the same problem.
Jul
1
revised rsyslog Email On SSH/SFTP Login Fails
added 2 characters in body
Jul
1
asked Secure Port with Nginx Web Server Authentication auth_basic
Jul
1
asked rsyslog Email On SSH/SFTP Login Fails
Aug
20
awarded  Suffrage
Aug
20
answered Nginx Server Block Port 8081 Path to Root Folder
Aug
20
comment Nginx Password Protect Directory Downloads Source Code
Rather, it has fixed two big headaches for me--this one and this one. Thanks.
Aug
20
awarded  Commentator
Aug
20
comment Nginx Password Protect Directory Downloads Source Code
Thank, this fixed it and has ended a big headache for me!
Aug
20
accepted Nginx Password Protect Directory Downloads Source Code