Moving .htaccess to httpd.conf Issue
Currently I am in the process of moving my .htaccess data into include files for my server, I have one domain, one account on the server.
using this
Options +FollowSymLinks +Multiviews +Indexes
AllowOverride None
AuthType basic
AuthName "private"
AuthUserFile "/home/allfreec/.htpasswds/www/c/passwd"
Require valid-user
/usr/local/cpanel/scripts/rebuildhttpdconf got OK, ran restart httpd all was good. But the directory /www/c/ is not locked I am using cloudflare for the front end with their cert, I assume it still comes as SSL into my server. also, If i use a file for the domain do I need to do a www.example.com as well as example.com to enforce? Thanks Chris
/usr/local/cpanel/scripts/rebuildhttpdconf got OK, ran restart httpd all was good. But the directory /www/c/ is not locked I am using cloudflare for the front end with their cert, I assume it still comes as SSL into my server. also, If i use a file for the domain do I need to do a www.example.com as well as example.com to enforce? Thanks Chris
-
Hello, Could you verify if you are intending to use this custom document root? The document root path for an account by default is /home/$username/public_html so you'd need to use a path such as this if the directory name for the account is "c":/home/$username/public_html/c
Thank you.0
Please sign in to leave a comment.
Comments
1 comment