apache - How to handle a hardlink with php? -
i have hardlink (created php link()
function) on server named lookslikeadirectorybutreallyisphpfile
, linked arealdir/index.php
lookslikeadirectorybutreallyisphpfile
, arealdir
in root directory web server
however when request http"//example.com/lookslikeadirectorybutreallyisphpfile
source code , not php processed result of code.
i attempted handler in root directory's .htaccess file, doesn't anything:
<files "lookslikeadirectorybutreallyisphpfile"> sethandler application/x-httpd-php </files>
Comments
Post a Comment