Home Index

Welcome, Guest
Welcome, Guest. Please login or register.
February 04, 2012, 01:15:21 pm
Search:  
Advanced search
WJD Forum Index  |  WestHost Related  |  SSH  |  Topic: Modifying your httpd.conf file
Pages: [1] |   Go Down
Print
Author Topic: Modifying your httpd.conf file  (Read 4419 times)
Shawn Sorrell
Administrator
Jr. Member
*****
Offline

Gender: Male
Posts: 64



WWW
« on: November 25, 2003, 11:56:03 am »

In this thread I want to keep examples of how to do stuff with the httpd.conf file that either other users on WestHost post or that I figure out.
Logged

Shawn Sorrell
Remember I am not an expert but a jack of all trades.  Information posted here should be used at your own risk. You are responsible for any changes you make to your account/website.
Shawn Sorrell
Administrator
Jr. Member
*****
Offline

Gender: Male
Posts: 64



WWW
« Reply #1 on: November 25, 2003, 12:00:52 pm »

A user was trying to change the default that extension of what the server looks for when it looks in a directory and user richardz gave the following example:

Quote from: richardz
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
or
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 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


Link to richardz profile on WestHost forum: http://forums.westhost.com/wjd2/profile.php?mode=viewprofile&u=708
Logged

Shawn Sorrell
Remember I am not an expert but a jack of all trades.  Information posted here should be used at your own risk. You are responsible for any changes you make to your account/website.
Pages: [1] |   Go Up
Print
WJD Forum Index  |  WestHost Related  |  SSH  |  Topic: Modifying your httpd.conf file
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC