oupala / apaxy

a simple, customisable theme for your apache directory listing
https://oupala.github.io/apaxy/
GNU General Public License v3.0
1.86k stars 256 forks source link

Running in TLD (without subfolder) #18

Closed jaydrogers closed 10 years ago

jaydrogers commented 10 years ago

Is it possible to run Apaxy directly in a TLD? For Example: http://www.mydomain.com instead of http://www.mydomain.com/subfolder?

I tried to run it without a subfolder, but I am not getting any luck. Here is an example of what I did in the .htaccess:

AddIcon /theme/icons/blank.png ^^BLANKICON^^
    AddIcon /theme/icons/folder.png ^^DIRECTORY^^
    AddIcon /theme/icons/folder-home.png ..
jaydrogers commented 10 years ago

I was abled to get this resolved on my own, the issue was related to my server configuration. On a brand new installation of Apache, I forgot that Allow Override is set to "None" (meaning that it does not recognize .htaccess at all.

I went into my configuration and changed the directive to:

AllowOverride All

Hope this helps someone if they ever run into this!