White Cuban Posted December 14, 2008 Share Posted December 14, 2008 So i have a directory, (phpmyadmin if you must know) when i go to mysite/phpmyadmin/ it shows me index of / Whatever. and shows me everything there. why isn't the file served? Link to comment Share on other sites More sharing options...
McSmiggins Posted December 14, 2008 Share Posted December 14, 2008 You've got to set it as the default page for the site, I'm assuming you're using Apache? http://httpd.apache.org/docs/2.0/mod/mod_d...#directoryindex (Put "DirectoryIndex index.php" in the correct place in the site config, assuming your Apache's all set up for php) As for the directory listing you might want to turn it off: http://httpd.apache.org/docs/1.3/misc/FAQ-E.html#indexes Options -Indexes Link to comment Share on other sites More sharing options...
White Cuban Posted December 14, 2008 Author Share Posted December 14, 2008 okay, changing it now! thanks. update: it all works! Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts