-
phtml... f2s.....
I recently got a forum (or bulletin board) script from www.webscriptworld.com and did everything the readme file said word for word and uploaded it through ftp to my new page at www.f2s.com (www.clanlapd.f2s.com/forums/admin) When I go to see the page the readme said to, I get this:
Forbidden
You don't have permission to access /forums/admin on this server.
--------------------------------------------------------------------------------
Apache/1.3.19 Server at www.clanlapd.f2s.com Port 80
then I was told by someone to change the chmod to 777 so I did and I still get that error but now I can actually go to
www.clanlapd.f2s.com/forums/admin/index.phtml directly to the file but it pulls it up as a text document.
I did exactally as the readme said, what happened?
Here is how my directories look in my ftp program
|_> www.clanlapd.f2s.com
---|_> forums
-----|_> forum.phtml
-----|_> subscribe.phtml
-----|_> unsub.phtml
-------|_> admin
---------|_> admin.phtml
---------|_> index.phtml
I can't view any of the directories through my browser. the read me said "Access the admin from "yourdomain.com/forums/admin/login.phtml"
So I went to www.clanlapd.f2s.com/forums/admin/login.phtml can someone pleaseeeeeeee help me im new at this and im frustrated!
-
well first you have to make sure that the server supports php. second you might have to make a cgi-bin folder so you can use the php (depends on the server) third I would set index.phtml to chmod 757, insdtead of 777, actually change all of them to 757. then you might have to have something like this on the very first line of all your files.
#!/usr/local/php4/bin/php (usually default)
but that line all depends on where your servers php.ini (I think) is located. you might change php4 to php3 depending on the version of your servers php.
if 757 doesn't work go back to 777 but that is not very secure. your server may ask you to change it. 777 give full acess to read and write of all your files and that has the potential to run code that may damage the server. that is why you need to change it to 757.
Scoutt