Virtual Directory Support?
So I spend all morning adding stupid DEBUG hacks to my web site so that I can have it run on my current server, albeit not the way I wanted it to, as close to it as possible.
Not only did I have to mess with my directory structure because locally I have it set up under the document root, and thanks to some a$$h*le company called Verio front running the domain I wanted for it I have it set up remotely as a sub domain of my other site... but as I mentioned elsewhere mod_rewrite isn't enabled so I had to go through and add the little .php extension here and there and.... OH BUT GUESS WHAT??!
So, you know how this should work fine, right?
Ie, it loads index.php and everything after is just ignored (unless of course you explode your path and use it as input like I theoretically was going to do...). WELL. Not only does my dumbass, we've been on the internet for 15+ years and still don't know a damned thing host not have mod_rewrite enabled, apparently they've managed to do something to Apache to disable that from working too. If I go to...
...it just loads, and loads until the connection times out.
I know this doesn't have much to do with PHP but I don't feel like joining talkapache.com just to ask. I can't figure out how they managed to screw that one up, except for one setting in phpinfo() I spotted.
Virtual Directory Support enabled
It's enabled on mine, disabled on theirs, and no matter how much you google it, for some reason even apache.org doesn't tell you what it does. Anybody know if that's my problem?
While I can't be sure if it's a solution to your problem you could use $_SERVER['REQUEST_URI'] to see if theres something after index.php and if there is relocate them to the desired page...here
I already use REQUEST_URI except it's more like this;
It works just fine on my very default set up of apache locally. It doesn't work on my host. Doesn't work here either, so I don't have a physical example to show you, but I'm sure the person who can help me should understand what I'm saying, I hope. ;-)
Virtual Directory Support
Locate your php.ini file in your server and search for the entry virtual Directory Support and check it is enabled, If not enable it.
Virtual Directory Support => enabled
Visit us on - <removed>
I located my php.ini and can not see an entry for Virtual Directory Support; yet I see that it is set do DISABLED at http://localhost/phpinfo.php.
What is the setting called in PHP.ini?
|All times are GMT. The time now is 11:07 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0