5 posts tagged with htaccess and php. (View popular tags)
Displaying 1 through 5 of 5. Subscribe:
I use .htaccess files to allow users access to files in certain directories based on their IP addresses/ranges. They are linked to these file from a page (not within the htaccess protected directory) generated in PHP. Is there a way to display a variable on this PHP page based on whether or not the user will be allowed access into .htaccess protected directories? [more inside]
posted by chillmost
on Mar 17, 2009 -
7 answers
I want to move my Wordpress blog from a subdirectory on my domain to the root directory -- i.e., I want the URL of my posts to be changed from http://www.domain.com/blog/post-permalink to http://www.domain.com/permalink . What's the best way to ensure that external links don't die? Is there a way to make sure that individual posts will retain their Google PageRank? [more inside]
posted by tweebiscuit
on Nov 29, 2008 -
9 answers
Need an assist from the PHP gurus. I'm trying to set up a PHP script that generates an image from the latest Twitter status. [more inside]
posted by empyrean
on Nov 19, 2007 -
10 answers
I'm developing a custom 404 page using .htaccess to redirect to the 404.html. I'm trying to use PHP (via an include in the 404.html) to show the referring page (using $_SERVER['HTTP_REFERER']). This works fine. I'd also like to return the bad URL that originates the 404. Is this possible using PHP? [more inside]
posted by lyam
on Nov 14, 2007 -
6 answers
htaccess, SSI, and PHP parsing. Can one file get both php and ssi parsing? if yes, how, if not, help! [*]
posted by gramcracker
on Aug 11, 2004 -
10 answers