Koozali.org: home of the SME Server

Web folder

mark fifield

Web folder
« on: January 14, 2003, 05:06:12 PM »
Hello,

I need a little help if anyone may be able to assist? I need to be able to use an internet address of http://[myserver].com/labe/index.php. I have the 'labe' folder currently in /var/www/html/labe/index.php, but this does not seem to do the trick. Will I have to create a symbolic link to another location maybe?

Hope someone maybe able to help, I think I'm in over my head!

many thanks!
mark

Bill Talcott

Re: Web folder
« Reply #1 on: January 14, 2003, 06:47:04 PM »
The primary web site is in /home/e-smith/files/primary/html/.

Johan

Re: Web folder
« Reply #2 on: January 14, 2003, 07:40:00 PM »
Hello Mark,

If this for a project then you can beter make a IBAY named "labe" But if you want to place it the SME webserver root then it is "/home/e-smith/files/primary/html/"

Go whith you putty client to the server from your Workstations

Good luck

Johan

Mark Fifield

Re: Web folder
« Reply #3 on: January 14, 2003, 07:47:07 PM »
Ah! That's a little more like it! Thanks, one quick question however, Internet Explorer now gives me 403 FORBIDDEN. I've used MC to change the owner of the file to admin, and the group to Shared, and also allowed them read and write access to it, but alas, I am still receiving 403 FORBIDDEN. Any ideas??

Thanks again!

Johan

Re: Web folder
« Reply #4 on: January 15, 2003, 08:33:12 PM »
Mark,

You want to start a index.php file in the IBAY you have make?

When you have create a IBAY called xxxx and you want to run a php script you must have set whith the IBAY manager off the ibay xxxx  "Execution of dynamic content (CGI, PHP, SSI):" to Enabled.

Then you can run PHP scripts.

Good Luck

Johan

Boris

Re: Web folder
« Reply #5 on: January 16, 2003, 01:59:51 AM »
AFAIK folder (labe) needs to have executable attribute for allowing to change into this directory.

Mark Fifield

Re: Web folder
« Reply #6 on: January 16, 2003, 02:59:47 PM »
Thanks again for that :-)

However, I'm still having troubles. I've made the ibay, and copied my index.php file into it. It will execute now, but unfortunately the php file needs to be in it's original directory to execute properly. I have tried to create a symbolic link from the ibay to the orginal file. The php file will now not execute, due to 403 FORBIDDEN. Is there any way I can give a command using putty to the server to give access to the php file??

Thanks again
Mark