oupala / apaxy Goto Github PK
View Code? Open in Web Editor NEWa simple, customisable theme for your apache directory listing
Home Page: https://oupala.github.io/apaxy/
License: GNU General Public License v3.0
a simple, customisable theme for your apache directory listing
Home Page: https://oupala.github.io/apaxy/
License: GNU General Public License v3.0
How to set default charset?
File names with ã is showing çÃ
Thanks.
Hi,
I would like to combine apacy with basic authentication.
When I try to add:
AuthName "secure"
AuthUserFile .htpasswd
AuthType Basic
Require valid-user
I get a server error ...
Any idea how to solve this ?
thank you,
Edd--
Could you add the android and ios app package icons?
Thank you
I'm a complete noob. I've uploaded the files and renamed the htaccess's
I keep getting this:
https://i.gyazo.com/a2b705c058f6bd4527eea27fe98d72c2.png
Any help?
The style is applied in the main directory, but not in subdirectories, as the paths are relative:
If I'm listing /share/**
, and the apaxy theme folder is in /share/theme
, and there's a subdir /share/asdf
, styles are looked up under /share/asdf/theme/**
..
Is there a way to fix this? or do I have to write a RewriteRule for */theme/*
?
Hi!
Unfortunately character encoding does not work on my site (http://dl.billroth.de/):
How can I fix that?
THX a lot!
lightGallery very nice work with apaxy.
Just add this in header.html:
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightgallery/1.3.9/css/lightgallery.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lightgallery/1.3.9/js/lightgallery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var imageSelector = [
'.indexcolname a:contains(".jpg"):not(:contains(".json"))',
'.indexcolname a:contains(".jpeg"):not(:contains(".json"))',
'.indexcolname a:contains(".png"):not(:contains(".json"))',
].join(', ');
var $table = $('table'),
$images = $table.find(imageSelector);
if ($table.length && $images.length) {
$table.lightGallery({
selector: imageSelector,
mode: 'lg-fade',
download: true
});
}
});
</script>
Using the last version from git with a directory of only files.
131 <Directory "/var/www/html">
132 #
133 # Possible values for the Options directive are "None", "All",
134 # or any combination of:
135 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
136 #
137 # Note that "MultiViews" must be named *explicitly* --- "Options All"
138 # doesn't give it to you.
139 #
140 # The Options directive is both complicated and important. Please see
141 # http://httpd.apache.org/docs/2.4/mod/core.html#options
142 # for more information.
143 #
144 Options All MultiViews
145
146 #
147 # AllowOverride controls what directives may be placed in .htaccess files.
148 # It can be "All", "None", or any combination of the keywords:
149 # Options FileInfo AuthConfig Limit
150 #
151 AllowOverride All
152 #
153 # Controls who can get stuff from this server.
154 #
155 Require all granted
156 </Directory>
Then i try to test each level dirs and find only the first dir can have style.
I find a way to slove it is that cp theme dir to each level dir.
Is there any better way to slove it?
It would be nice if we could link to an actual demo of Apaxy instead of showing a screen shot. I think this would make it easier evaluate Apaxy and see how it looks and works on small screen devices.
If an actual demo is not feasible, maybe a we could link to an HTML + CSS dummy?
I ended up wasting quite some time because of lack of instructions. It will be nicer if they are
On XAMPP folder, there is a shared
folder, but there is not themes
folder.
Please consider adding
//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.min.css
Hello,
Great theme but it seems to have broken redirects. When I click on a folder it does not redirect to the internal files. (ie. click on folder expecting to load the internal index.html but i get a white screen)
apaxy homepage contains some inline javascript (see these lines).
Content Security Policy encourage to move inline javascript into a separate javascript file and not to use script-src 'unsafe-inline'
.
apaxy should move inline javascript into a separate javascript file.
Hello, i add breadcrumb to apaxy, tell me if you want to up or see it.
Thx!
Can i use this for lighttpd ?
This will help clicking files on mobile devices (phones & tablets).
Otherwise awesome work!
Using trimage program you can lower the weights of images
If I have the following directory structure
share
|_ videos
|_ theme
|_ software
|_ .htacess
and my .htaccess with the configuration is under share, but I am also able to see software, which I want to share too but with a different HTML header and footer in each directory, how can I do that? is it possible?
Thanks
I found out that putting other theme and a .htaccess that overrides the parent worked.
Hello,
in my directory listing .htaccess and some other dot files are showing up, I'de like them to be hidden, is that possible ?
thanks in advance.
I created folders in the root directory where the example files are placed. When I open the folder from the browser, it does not show the theme. It shows missing images on the page. When I copied the theme folder into this new folder, the theme displayed properly.
Is there a straightforward way of solving for this without having to copy the theme folder inside every folder and without symlinks inside each folder?
You have the icon included, but left out .zip with the other archive file types in the htaccess.txt file.
I'd like to keep the Description cell in the table. How can I style it? Specifically the width of it?
I'm serving this over https and I get a mixed content error due to the following import statement:
@import url('http://fonts.googleapis.com/css?family=Open+Sans');
Changing this to
@import url('//fonts.googleapis.com/css?family=Open+Sans');
should work for both HTTPS and HTTP as the google servers serve up the correct css.
🐱
Apache2 on Ubuntu 16.04, /var/www/html contains the standard index.html location. I place .htaccess and theme in this folder and I can see the CSS styling works nicely. However there is a subfolder I use also in /var/www/html and when I hover over the subfolder icon 'http://servername/' gets stripped from the URL (http://servername/subfolder) and the URL just becomes 'subfolder' so I can't reach the subfolder. I can access the subfolder fine if I just manually enter 'http://servername/subfolder' myself. Also only happens with Chrome. Works fine with IE
Hello,
I have a very basic setup. I have Apache installed on Ubuntu and my path is /var/www/html/test. There are a few files in the 'test' folder. I followed the directions to copy the contents from apaxy to the 'test' folder and renamed htaccess.txt to .htaccess in both the test/ folder and theme/folder. However, when I browse to the directory, it shows the default file listing. Is there something else that I need to do?
Instructions seems pretty straightforward. I restarted Apache but that didn't help. Any assistance would be deeply appreciated.
AddIconByType (TXT,/theme/icons/text.png) text/*
AddIconByType (IMG,/theme/icons/image.png) image/*
AddIconByType (SND,/theme/icons/audio.png) audio/*
AddIconByType (VID,/theme/icons/video.png) video/*
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 ..
Hi,
are you interested in a theme chooser/installer.
Currently, the process of installation a little bit manual, I suggest a shell script with user prompt (with some well default values according to the current working directory) to define the htaccess file (and move the .txt to .htaccess (see #9)).
If there are several subfolders in a so called "themes" directory, ask for user to choose the one to be installed.
I don't know if this is even possible, as this is all new to me. Can the displayed page have a download counter displayed per file? I know I can look up stats through other means, but I would like something displayed for the people visiting and downloading the files.
Thank you for such an amazing little gem. Apaxy is a great tool.
I apologize is this is not where this question belongs.
Everything is in the issue title!
Maybe there are some constraints I can't see, but the .htaccess file may be directly stored as .htaccess in the repository.
RunAbove (by OVH) provides Openstack object storage and static web hosting, file listings.
repo: https://github.com/szepeviktor/Apaxy4RunAbove
demo: http://mirror.szepe.net/
Hello, when i'm using apaxy on windows 8 through vagrant and i have a little problem: apaxy won't work
here is the pastbin of the main htaccess: http://pastebin.com/29PZ7da9
thank you
Hi all,
anyone succesfully using apaxy with apache 2.4?
I'm trying it but css is not loaded and standard apache index is proposed
Thanks
The installation instructions at http://adamwhitcroft.com/apaxy/ don't actually link to a download.
Sorry, I can't do pull requests yet. But here's quick workaround to remove padding from mobile screens.
body {
padding:0;
-webkit-backface-visibility:hidden;
}
@media (min-width: 768px) {
body {
padding:20px;
-webkit-backface-visibility:hidden;
}
}
Will/should Apaxy work on a Litespeed server? Are there additional configuration considerations... since Litespeed servers handle Apache configs the same?
In htaccess file is no entry for exe files, but the png is still there in icons folder.
AddIcon /{FOLDERNAME}/theme/icons/exe.png .exe
Could Apaxy please include icons for .deb and .rpm packages.
Icons for MD5 hash files and GPG keys would also be good.
I want to set the default sort order to be ?C=M;O=D
How can I set this! Thanks.
Does this theme work with lighttpd aka. lighty?
It's similar to Apache but more lightweight.
It has the ability to add a custom CSS file so I thought it shouldn't be pretty hard to get it working.
Hi it's work great but one problem sub directory listing not working existing styles showing how can i fix this ..
I came across a weird issue that causes the server to stop listing files altogether, here's my setup:
http://localhost
/var/www/html
, apaxy setup under that directory (/var/www/html/theme
for reference)<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
http://localhost/resources
<-- directory to listhttp://localhost/backend
<-- reverse proxy to my backend app<IfModule mod_headers.c>
RequestHeader unset Authorization
</IfModule>
ProxyRequests Off
ProxyPass /backend http://127.0.0.1:3000
ProxyPassReverse /backend http://127.0.0.1:3000
http://localhost/*
to be protected by basic auth, including access to /backend
<Location />
AuthType Basic
AuthName "By Invitation Only"
AuthUserFile /etc/apache2/htpasswd
Require valid-user
</Location>
RequestHeader unset Authorization
(requires mod_headers
)/resources
With this setup and config pieces, style.css gets applied but there's no content in the table that's supposed to list the directory, neither does header/footer.html show up in response HTML.
This problem goes away if I remove basic auth, or if I disable mod_headers
. I can't figure out how those might HeaderName
& ReadmeName
. Not sure if its an issue with this theme or my config.
Any plan on Nginx compatibility ? :)
Hi, I've noticed Apaxy requests the Open Sans font from fonts.googleapis.com
+ fonts.gstatic.com
(https://github.com/AdamWhitcroft/Apaxy/blob/master/apaxy/theme/style.css#L8). Would you be OK to include this font in the release archive, and use that copy by default instead?
Some advantages: No cross-site requests, no leaking of HTTP Referers to font provider, works on LAN-only setups, no dependency on an external service, only 1 connection initiated.
The Google Fonts @include
can be left commented out for users that want to re-enable it.
The current TTF fonts used by fonts.googleapis.com can be found at https://github.com/google/fonts/tree/master/apache/opensans. I can start working on a patch, including a Makefile to fetch the latest version from there.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.