PDA

View Full Version : Configuring Apache2?


hcker2000
October 27th, 2005, 07:49 PM
I'v been trying to use webmin to configure my apache2 which has worked so far but there are a few things I can't seem to do that I need to.

My html document root is /var/www/html I need to point apache2 to this directory. I think I have this set up right in my /etc/apache2/httpd.conf file.

Listen *:85
KeepAlive on
DocumentRoot /var/www/html

Now I also need to tell apache2 to show .htm and .html files. I have no idea how to do this.

I also need to know what package to install to get java scripts going.

The rest of the perl and stuff I think I can get setup on my own threw webmin.

wellery
October 27th, 2005, 08:14 PM
have a look at changing this file:


/usr/local/apache2/conf/mime.types

hcker2000
October 27th, 2005, 08:19 PM
There is no file in that location. I did a locate for mime.types and found some but none in an apache2 foulder.

hcker2000
October 28th, 2005, 07:55 AM
Problem solved had to edit

/etc/apache2/sites-enabled/000-default

and

/etc/apache2/httpd.conf