LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache issues (https://www.linuxquestions.org/questions/linux-server-73/apache-issues-600582/)

IwantLINUX 11-18-2007 09:50 AM

Apache issues
 
Hi,

This a repost from Linux Newbies Fourm, seems that this query is suitable here, sorry for this:

I am using my webserver with Apache. However, there are some issues which i want to discuss with you guys for a better idea:

1. I have placed the following line in Apache, in Location section for some directory:
Allow from xxx.yyy.com

However, this is not working as when I open mozilla on xxx and type in the URL, it says that you do not have the permission and if i give
"allow from all" it lets me access the directory. So i think Apache is not able to do the reverse lookup. But when i type dig -x 192.168.0.10 is shows me the name xxx.yyy.com, so i think that reverse lookup is working but somehow apache is not able to do it.


2. When i try to check the syntax of my webalizer.conf file, it shows me Invalid command 'Alias', perhaps mis-spelled or defined by a module not loaded but my mod_alias is already loaded with httpd.conf

Any ideas?

Thanks and Regards,

subhasis_ray 11-19-2007 05:47 AM

Apache would work by reading the request header, and it is possible that your browser on xxx.yyy.com reports the hostname as xxx in the request header and not xxx.yyy.com. Check the apache error logs and see. Also, try wget/GET from the command line on xxx. That would get you some suggessions.

-Subhasis


All times are GMT -5. The time now is 10:46 AM.