Article 6F441 website gives 403 Forbidden w/o www

website gives 403 Forbidden w/o www

by
mfoley
from LinuxQuestions.org on (#6F441)
I have a web server using Apache/Tomcat. I can get to the website www.community.11thcapitulardistrict.org, but not community.11thcapitulardistrict.org. In other words the "www" is required. With the latter I get:
Code:Forbidden

You don't have permission to access this resource.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.Name resolution seems to be fine:
Code:# host community.11thcapitulardistrict.org
community.11thcapitulardistrict.org has address 24.142.169.11

# host www.community.11thcapitulardistrict.org
www.community.11thcapitulardistrict.org has address 24.142.169.11And I think I have the server.xml set up correctlu:
Code:<Host name="community.11thcapitulardistrict.org" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">

<Logger className="org.apache.catalina.logger.FileLogger" directory="logs/" prefix="horeb_access_log" suffix=".log" timestamp="true"/>

<Context path="" docBase="community227" reloadable="false" allowLinking="true">
<WatchedResource>/WEB-INF/web.xml</WatchedResource>
</Context>

<Alias>www.community.11thcapitulardistrict.org</Alias>
<Alias>community227.11thcapitulardistrict.org</Alias>
</Host>even though I get the 403 error, no messages appears in error_log, access_log or catalina.out.

What am I doing wrong?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments