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
Then you can view it via http://localhost/~<username>/
Where <username> is your login name.
Alternatively, /srv/www/htdocs/ is the default location unless you have messed with any of the /etc/apache2 config files.
Scott
Thanks! I will try that. I didn't because it already had a lot of index files in it. How does the other (http://localhost/~<username>/ find it? Do you mean to have the index.html in the my home directory? I know the folks that make the docs do a lot of hard work for us, but sometimes its hard for them to get a newcomers view because they have so much knowledge of the project. Bob