This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Wildcard setting 403 error
#1
Wildcard setting 403 error
I installed sentora and added my domain to it. If I accessed any wildcard subdomain it gived me sentora panel. So I edited httpd.conf by adding virtual host which is pointing to subdirectory of my main domain. At that time I was getting Apache testing123 site and I deleted welcome.conf file. Now it should everything work but I always get 403 error probably I made some mistake by editing httpd.conf .
Code:
<Virtualhost *:80>
#   ServerAlias *.rh.hr
  DocumentRoot /var/sentora/hostdata/zadmin/public_html/rh_hr/subdomains
#   DirectoryIndex index.php I
#   <Directory /var/sentora/hostdata/zadmin/public_html/rh_hr/subdomains>
#      Order allow, deny
#      Allow from all
#      Require all granted
#   </Directory>
</Virtualhost>


Attached Files Thumbnail(s)
       
Reply
Thanks given by:
#2
RE: Wildcard setting 403 error
Yep you need to set the directory permissions Order allow, deny why you commented them?

It's not adviced

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 6 ,810 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 28 ,324 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,590 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)