Help need for apache server and redhat 9
Help need for apache server and redhat 9
I have installed apache server and redhat 9. I configure the server and when I try to access the server with /url it gives me apache default page. However, if I put /url/index.html it gives me right page. I have no virtual host configure...I just took the default setting and added my directory setting to the http configuration which is /var/www/html/directory_name/. I have tried my all the option but I did not get any luck...So anyone has any idea pls help.... Thank you in advance... Shyamal |
Hey,
Apache can be a little confusing and difficult to configure. I am not that great with it but if you read some of the documents here: http://httpd.apache.org/docs/ And mess around with the cofiguration, you should be able to do the basics, but if you want to get advanced you should really get a book. I know this wasn't much help, but I can't tell what the problem is from your post? Is it not displaying what you want? Later |
hi..
check if u have configured the folowing correctly in httpd.conf file. <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.shtml index.cgi </IfModule> it tells apache to open default files as in order. so according to this it will give precidence to index.html over index.htm or index.cgi . ie if u have index.html & index.htm & index.cgi in u'r html root dir it will open index.html & not index.htm if u just type the url good luck ullas |
All times are GMT -5. The time now is 10:56 AM. |