[GUIDE] Beautiful Directory Listing for Apache File Server Sharing Public Folder (h5ai)

ok, I tried out this… looks gorgeous, but runs slow…

tried to remove it making a restore (while saving my data), but http://MBL-IP/public is still accessible, meaning the h5ai is still there… now, I found out that after the resstore, the set up is creating problems to my wd2go remote connection: any way to remove h5ai completely?

any help is greatly appreciated! thanks

Thx! this is cool guide!

but i want separate this, and wd dashboard using port .

i want use this service on port81, 

how can i do?

hm, now i can use change 81port.

add listen 81, and make file  site-enabled/public  

<VirtualHost *:81>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/

<IfModule mod_rewrite.c>

configure landing page for webdav applet

RewriteRule ^/LandingPage /Admin/webapp/htdocs/securityCheck.php [L,R]

additional environment variables to pass to CGI and SSI

any way to use DocumentRoot/DOCUMENT_ROOT???

SetEnv __ADMIN_API_ROOT /var/www/Admin

Options FollowSymLinks AllowOverride None

<Directory /var/www/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

<Directory /var/www/public/>
DirectoryIndex index.html index.php /_h5ai/server/php/index.php

block application folders from being served

<Directory /var/www/Admin/webapp/config/>
Order deny,allow
Deny from all

<Directory /var/www/Admin/webapp/classes/>
Order deny,allow
Deny from all

<Directory /var/www/Admin/webapp/includes/>
Order deny,allow
Deny from all

#block access protected files (php/ini files)
<Directory “/var/www/Admin/webapp/htdocs/protected”>
AllowOverride None
deny from all

comment this line if remote WebUI access is needed (WAN access)

Include /tmp/allow.conf

<Directory “/var/www/UI”>
RewriteEngine on
RewriteBase /UI/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^$ app/webroot/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) app/webroot/$1 [L]
php_value memory_limit 1G

i can connect mybookip:81 and h5ai is run!

but symbolic link is not work.  and click that, showme permission error page ,

how can i do?

this was funny: I just re-updated for the nth time MBL before getting it bricked… by change I placed the files and folders of the “_h5ai” folder inside a share… then went to the browser and typed http://mybooklive/myshare, inserted the credentials (webDAV credentials, see here how to set them up: http://mybookworld.wikidot.com/forum/t-593394/streaming-ms-office-files-over-remote-mybooklive#post-1627270) and, behold, this was the result:

of course, PHP GD is not installed, as I am coming from a fresh install of the firmware…

it would be interesting if, using this trick, one could access the files inside the shares…

can you share more on how to enable pdf thumbs?

I have followed the steps preliminaries to installing owncloud, but still get red “pdf thumbs” on h5ai… would be great if you can share how to fix it… thanks!

ops,

I can access mybooklive/_h5ai, but I get “403 Forbidden” when I try to access mybooklive/public

I just recently updated to PHP 5.3.3-7+squeeze14…