When accessing a vhost on my server I receive a 500 internal server error and then when viewing the log file I find the error rewrite or internal redirection cycle while internally redirecting to "/error/403.html". I have a site working just fine with the exact same vhost configuration. All paths in the config are valid and all permissions are valid and correct. Below is the configuration for the vhost in question. Any assistance would be greatly appreciated.<br>
<br>server {<br> listen *:80;<br> <br> <br> server_name somedomain.tld *somedomain.tld;<br><br> root /var/www/somedomain.tld/web;<br> <br> <br> <br> index index.html index.htm index.php index.cgi <a href="http://index.pl">index.pl</a> index.xhtml;<br>
<br><br> <br> error_page 400 /error/400.html;<br> error_page 401 /error/401.html;<br> error_page 403 /error/403.html;<br> error_page 404 /error/404.html;<br> error_page 405 /error/405.html;<br>
error_page 500 /error/500.html;<br> error_page 502 /error/502.html;<br> error_page 503 /error/503.html;<br> recursive_error_pages on;<br> location = /error/400.html {<br> internal;<br>
}<br> location = /error/401.html {<br> internal;<br> }<br> location = /error/403.html {<br> internal;<br> }<br> location = /error/404.html {<br> internal;<br>
}<br> location = /error/405.html {<br> internal;<br> }<br> location = /error/500.html {<br> internal;<br> }<br> location = /error/502.html {<br> internal;<br>
}<br> location = /error/503.html {<br> internal;<br> }<br> <br> error_log /var/log/ispconfig/httpd/somedomain.tld/error.log;<br> access_log /var/log/ispconfig/httpd/somedomain.tld/access.log combined;<br>
<br> ## Disable .htaccess and other hidden files<br> location ~ /\. {<br> deny all;<br> access_log off;<br> log_not_found off;<br> }<br> <br> location = /favicon.ico {<br>
log_not_found off;<br> access_log off;<br> }<br><br> location = /robots.txt {<br> allow all;<br> log_not_found off;<br> access_log off;<br> }<br>
<br> location /stats {<br> index index.html index.php;<br> auth_basic "Members Only";<br> auth_basic_user_file /var/www/clients/client3/web3/.htpasswd_stats;<br> }<br>
<br> location ^~ /awstats-icon {<br> alias /usr/share/awstats/icon;<br> }<br><br> location ~ \.php$ {<br> try_files $uri =404;<br> include /etc/nginx/fastcgi_params;<br>
fastcgi_pass unix:/var/lib/php5-fpm/web3.sock;<br> fastcgi_index index.php;<br> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br> fastcgi_param PATH_INFO $fastcgi_script_name;<br>
fastcgi_intercept_errors on;<br> }<br> <br><br> <br><br> <br>}<br><br><br>Thank You,<br><br>Landon L.<br>