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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -