My PHP App won't display in localhost (only the folders will). I'm using MAMP - app is held in standard htdocs folder
So I've pulled a repository from github into my htdocs folder. But when i go to the http://localhost, all I get is a list of the folders in the App (vs seeing the app display in the browser).
i.e, my app is displaying a bulleted list as seen below. Usually i can get php pages up and running if they have a simple page right in the htdocs directory (index.php, etc). but this app is more s开发者_如何学Pythonophisticated & doesn't have that.
I'm a beginner, so i'm sure this is something small I'm overlooking...but some help would be much appreciated.
Index of /
-App -Config -Core -etc -etc -etcThanks,
Something has to pass control to an "index.php" or some other controller that will handle the request and spit out the html you want to see. If the app is supposed to do something, you can try maybe checking the .htaccess file to see what it's supposed to be forwarding to. If all is set up correctly and still not working, then maybe the master httpd.conf has something like AllowOverride None that is preventing the rules/directives/etc in the htaccess from executing correctly
精彩评论