Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: mark fifield 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
-
The primary web site is in /home/e-smith/files/primary/html/.
-
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
-
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!
-
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
-
AFAIK folder (labe) needs to have executable attribute for allowing to change into this directory.
-
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