Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi everyone...
I am playing around w/ virtual host ...I have two different domain names. When i go to my website, i get this error:
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster
Error 404
When i start httpd, it doesn't give me an error. Where is my problem?
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:80>
ServerAdmin XXXX@yahoo.com
DocumentRoot /home/cpc
ServerName XXXX.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin YYYY@yahoo.com
DocumentRoot /home/dilberim
ServerName YYYY.com
</VirtualHost>
Last edited by dilberim82; 01-03-2004 at 01:45 AM.
[Sat Jan 03 11:14:58 2004] [warn] child process 11481 still did not exit, sending a SIGTERM
[Sat Jan 03 11:14:58 2004] [warn] child process 11482 still did not exit, sending a SIGTERM
[Sat Jan 03 11:15:02 2004] [notice] caught SIGTERM, shutting down
[Sat Jan 03 11:15:40 2004] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 03 11:15:40 2004] [notice] Digest: done
[Sat Jan 03 11:15:41 2004] [error] [client 192.168.1.1] File does not exist: /home/dilberim/cpc, referer: http://www.customizedpcsolutions.com/
[Sat Jan 03 11:15:41 2004] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations
[Sat Jan 03 11:15:48 2004] [error] [client 192.168.1.1] File does not exist: /home/dilberim/dilberim, referer: http://www.dilberim.com/
[Sat Jan 03 11:26:24 2004] [error] [client 24.190.120.61] File does not exist: /home/dilberim/dilberim, referer: http://www.dilberim.com/
[Sat Jan 03 11:27:21 2004] [error] [client 24.190.120.61] File does not exist: /home/dilberim/cpc, referer: http://www.customizedpcsolutions.com/
k from the log file, it seems like it is looking in the folder /home/dilberim/cpc for www.customizedpcsolutions.com and the folder /home/dilberim/dilberim for www.dilberim.com, but why would it do that?
[Sat Jan 03 12:02:53 2004] [error] [client 192.168.1.1] Directory index forbidde
n by rule: /home/dilberim/, referer: http://www.customizedpcsolutions.com/
[Sat Jan 03 12:02:58 2004] [error] [client 192.168.1.1] Directory index forbidde
n by rule: /home/dilberim/, referer: http://www.dilberim.com/
It means it cannot find the default index.html file and directory browsing is not allowed. You don't want directory browsing enabled. Can you send my you entire httpd.conf via email. So I can look the whole thing.
I am sorry to get back to you so late...Something happened to my internet connection & i have been working on it since 2 PM to get it to work. I finally got it fixed now, and i'll e-mail you the code as soon as i can. Thanks for everything so far.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.