LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   which is the correct directory path? (http://www.linuxquestions.org/questions/programming-9/which-is-the-correct-directory-path-316784/)

verbatim 04-24-2005 07:34 PM

which is the correct directory path?
 
i have downloaded a user authentication script [vSignup,@ www.beanbug.net]

i want to install it outside of my html directory so:
1. visitors to my site wont have to type www.xxx.com/vsignup/login.php

2. no one has access to the php files, and

3. visitors wont see 'www.xxx.com/vsignup/login.php' when they go to the login screen.

i installed the files in '/home/vsignup' & added that path to my includes path in php.ini.

i couldnt figure out how to get to the login screen without moving it to my root directory [/home/html/] so i did that.

The "action" after clicking the login icon is to go to 'vauthenitcate.php' which is located in /home/vsignup.

After i log in i get the 'this page cannot be found' @ www.xxx.com/vauthenticate.php

Now obviously this is because that file is in /home/vsignup/ and not the root directory, but i thought by adjusting the includes path it would work.

how do i configure it correctly?

Any help offered would be greatly appreciated.

thanks

korozion 04-25-2005 12:22 AM

anything you want read via http://localhost usually goes in /var/www/html (or something similar)


All times are GMT -5. The time now is 06:37 PM.