sirpelidor
01-27-2008, 11:09 PM
Hi, first time apache2 user here.
Say I have a webpage (myPage.html) sitting in a folder (c:\myFolder). How can I get it to run on my web browser (http://localhost/myFolder/myPage.html)???
I remember the apache I had back then (was it 1.3?), all I needed was to dump my folder in var/wwwroot/ and I was good to go. I think now I need to setup some config file (httpd.conf)?
This is what I have atm:
Alias /test "C:/myFolder"
<Location "/test">
allow from all
DirectoryIndex myPage.html
</Location>
when I run my page, it complains:
Forbidden
You don't have permission to access /test on this server.
for the sake of get things work, I added "Everyone" with full access on this folder. And I still get the same error.
This gotta be a simple 101 question, thanks for helping!!
Say I have a webpage (myPage.html) sitting in a folder (c:\myFolder). How can I get it to run on my web browser (http://localhost/myFolder/myPage.html)???
I remember the apache I had back then (was it 1.3?), all I needed was to dump my folder in var/wwwroot/ and I was good to go. I think now I need to setup some config file (httpd.conf)?
This is what I have atm:
Alias /test "C:/myFolder"
<Location "/test">
allow from all
DirectoryIndex myPage.html
</Location>
when I run my page, it complains:
Forbidden
You don't have permission to access /test on this server.
for the sake of get things work, I added "Everyone" with full access on this folder. And I still get the same error.
This gotta be a simple 101 question, thanks for helping!!