View Full Version : Questions about apache default web page and app installs

11-24-2003, 12:58 PM
Hello All,

I've just been converted to 2.0. (I'm really excited)

So is there a way to control Apache and have it load my index.php page as the default instead of the index.html page when the filename is not provided as part of the URL?

Also, I would like to install other application not provided via the Site Manager. Apps like emacs and some other development tools. What are the guidelines for this if any? Specifically I asking about shared vs private directories.


11-24-2003, 01:15 PM
Should happen automatically if there is no index.html, then it will look for index.htm and if it doesn't find that then it will look for index.php

Make sure you remove the default index.html that is put into a new account (with "Under construction" in it or something)

11-24-2003, 01:20 PM
And for installing applications, you will need to install the GCC compiler tools (using Site Manager) and then "configure/make/make install" as per a normal RedHat installation. You gotta remember you got no X server tho, so it'll have to be shell emacs.
As for shared/private, well you can create users and control the access permissions of files and directories, so it shouldn't be a problem.


11-24-2003, 05:17 PM
Thanks for the reply. Got the index.html removed and it found my index.php. Great.

As for the install question. All I really need is shell access anyway. There are some image packages that I would like to install that are required as part of a photo album package I found that was very functional. And thanks for the tip on the GCC install. Was not aware there were more steps than just enabling this as part control panel. Guess I missed this in the instructions.



11-25-2003, 11:48 AM
Or you could open your SSH client and navigate to the following folder, and edit your httpd.conf using pico

1) [/usr/local/apache/conf]$ pico httpd.conf
pico /usr/local/apache/conf/httpd.conf

2) press CNTRL+W and type index.php and press enter

3) You should now be in the <IfModule mod_dir.c> settings area. just arrange the priority of the file names to your liking. I have index.php as the first then it goes down the line from there.

4) CNTRL+O and then CNTRL+X

5) Done