On Saturday 22 January 2005 2:52 pm, Scott Leighton wrote:
On Saturday 22 January 2005 2:31 pm, Robert A. Rawlinson wrote:
I have to develop some html-perl scripts to run on apache. I want to test them out so I used yast to install apache2. I have spent all day trying to find where I put the file index.html to get it to run. I have read the FAQ's and I still can't find out how to point-to or where to install the index file to get it to run. Has anyone got this to work? If so how do I get my scripts to run. Please! Bob Rawlinson
Simplest thing is to throw it into ~/public_html
In an off-list communication by a reader following this thread, it was suggested that ~/public_html reference might be confusing to newbies who do not necessarily know that the tilde expands to the path to the user's home directory. So, for the benefit of anyone reading this in the archives, the reference to ~/public_html translates into 'the user's public_html directory in their home directory, e.g., on SuSE systems that would be /home/<username>/public_html Where <username> is the user's login name, so a user named 'bob' would look like this /home/bob/public_html And the corresponding userdir access via apache would look like this for the url http://localhost/~bob/ Scott --- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.10-default x86_64