local - Chromium DocumentRoot browsing file:// -
i'm looking way set documentroot while browsing local file:// sites.
situation: have copy of web server on local machine , sync via rsync server. i'm looking way check these site (while offline, can't sync them) without installing local web server.
can open files, links beginning @ documentroot broken.
i'm looking for:
switch "chromium --doc-root=/home/user/website/http/" or similar perfect.
there this? help.
afaik, don't think chromium provides such options specify document root file scheme, obey file uri scheme (http://en.wikipedia.org/wiki/file_uri_scheme).
for case, think it's better use simple http server (e.g. if have python, use simplehttpserver
). ff file scheme used, still have append --allow-file-access-from-files
avoid permission restrictions.
Comments
Post a Comment