|ndru1234||first of all, can i verify how i should type the localfilepath part?|
would it be "c:/abc/www/"?
|DrBacchus||I expect it would be a URI, not a filepath. But you could try it both ways and see which works.|
|ndru1234||hmm... but it specifies it as the LOCALfilepath|
|pctony||sorry for fajita's downtime, she will be back shortly.|
|ndru1234||i'm confused as cos of the difference in the use of forward slashes and backslashes|
|DrBacchus||Yep. 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 \
|ndru1234||hmm... thx. but say if i need to specify a location out of the relative dir i'm in? how would i do that?|
|DrBacchus||By providing a URI starting with /|
Like /index.html would refer to index.html in your web document root.
|opapo||DrBacchus: This is what the forensic log has in it: -------- One - for each time the server is accessed|
|ndru1234||yep, that's correct. but how bout if i want to specify a file out of my www root?|
is that possible?
|DrBacchus||Aha. Finally found the docs. And it appears that I was wrong.|
|eromero||hi fellows, is there a way to know what rules are applying to a certain url? some sort of debugging?|
|DrBacchus||ndru1234: Did you by any chance read the docs for auto_prepend_file ?|
|ndru1234||nope, i didnt read it. i'm trying to work from a tutorial i found|
|DrBacchus||ndru1234: 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.|
|DrBacchus||Also, 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.
|ndru1234||so it would be something like c:\abc\www\prepend.php?|
|eromero||My apache is some how serving http://server/file as it was http://server/file.php but it turns out the code|
|ndru1234||if going my the docs?|
|DrBacchus||ndru1234: I would recommend that you try that, and see if it does what you want it to do.|
|ndru1234||well, the thing is i have a few variables to control here, so i cant get it to work straight. trying to reduce the issues|
|tofuwarrior||hi. I am trying to get my virtualhost config to work with no joy. Not a total newb but am quite stuck|
|ndru1234||DrBacchus: 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?|
|DrBacchus||You 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.
|ndru1234||yep, my .htaccess is enabled|
i'm actually running a rails application
if u're familiar
and running instant rails on windows
|DrBacchus||So ... then why are you setting php variables?|
|ndru1234||well, the easy answer is that there's a tutorial to convert my stuff to a mobile version|
and it's in PHP