LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-24-2005, 06:34 PM   #1
verbatim
Member
 
Registered: Apr 2005
Posts: 31

Rep: Reputation: 15
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
 
Old 04-24-2005, 11:22 PM   #2
korozion
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Debian
Posts: 124

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to rsynce the actual directory path instead of just the directory at the end of Niceman2005 Linux - General 5 04-08-2005 07:58 PM
what are the correct path for ksysv, the SysV-Init Editor? Xavius Slackware 1 01-01-2005 03:11 PM
Compiling errors with mythtv... make doesnt find correct path Samppa72 Linux - Software 2 08-17-2004 01:42 PM
Adding the correct installation path mynameisjoe Linux - Newbie 4 05-11-2004 10:26 AM
please tell me if my path statement is correct on RH 7.3 ergo_sum Linux - Newbie 9 12-12-2003 11:41 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration