#apache - Tue 13 Mar 2007 between 16:46 and 17:00

NY Lost Funds



ndru1234first of all, can i verify how i should type the localfilepath part?
would it be "c:/abc/www/"?
DrBacchusI expect it would be a URI, not a filepath. But you could try it both ways and see which works.
ndru1234hmm... but it specifies it as the LOCALfilepath
pctonysorry for fajita's downtime, she will be back shortly.
ndru1234i'm confused as cos of the difference in the use of forward slashes and backslashes
DrBacchusYep. Which says to me that it would be a local path, relative to the directory you're in.
Be confused no longer. Always use / and never use \
ndru1234hmm... thx. but say if i need to specify a location out of the relative dir i'm in? how would i do that?
DrBacchusBy providing a URI starting with /
Like /index.html would refer to index.html in your web document root.
opapoDrBacchus: This is what the forensic log has in it: -------- One - for each time the server is accessed
ndru1234yep, that's correct. but how bout if i want to specify a file out of my www root?
is that possible?
DrBacchusAha. Finally found the docs. And it appears that I was wrong.
eromerohi fellows, is there a way to know what rules are applying to a certain url? some sort of debugging?
DrBacchusndru1234: Did you by any chance read the docs for auto_prepend_file ?
ndru1234nope, i didnt read it. i'm trying to work from a tutorial i found
DrBacchusndru1234: Seems I was wrong. It wants a full filesystem path. Seems like a remarkably bad idea to me, but, then, I don't use that directive.
ndru1234oic
DrBacchusAlso, you might want to ask for further details on #php since they are (in theory, at least) the folks that know about this.
I'm just reading the docs.
ndru1234so it would be something like c:\abc\www\prepend.php?
eromeroMy apache is some how serving http://server/file as it was http://server/file.php but it turns out the code
ndru1234if going my the docs?
DrBacchusndru1234: I would recommend that you try that, and see if it does what you want it to do.
ndru1234well, the thing is i have a few variables to control here, so i cant get it to work straight. trying to reduce the issues
tofuwarriorhi. I am trying to get my virtualhost config to work with no joy. Not a total newb but am quite stuck
anyone?
ndru1234DrBacchus: can i seek ur advise too. i cant determine if PHP stuff will work on my .htaccess file. is there a simple command i can put in .htaccess to test it?
DrBacchusYou can start by putting "Wooga" in your .htaccess file.
This will ascertain whether .htaccess files are even enabled.
If they are, this will generate a 500 error.
ndru1234yep, my .htaccess is enabled
i'm actually running a rails application
if u're familiar
and running instant rails on windows
DrBacchusSo ... then why are you setting php variables?
ndru1234well, the easy answer is that there's a tutorial to convert my stuff to a mobile version
and it's in PHP

Page: 4 11 18 25 32 39 

IrcArchive

NY Lost Funds