Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

pocketvj from scratch CP /var/www #8

Open
lcsmedina opened this issue May 28, 2018 · 1 comment
Open

pocketvj from scratch CP /var/www #8

lcsmedina opened this issue May 28, 2018 · 1 comment

Comments

@lcsmedina
Copy link

Hello

I'm trying to make a pocketvj from scratch.
I followed all the instructions, and I think they went well.
I can not see the control panel. I try to open from google chrome the ip address of the raspberry pi (in my case 192.168.0.22).

Before modifying the /etc/lighttpd/lighttpd.conf /var/www/html by /var/www,
I could see the /var/www/html/index.lighttpd.html in google chrome. But now changing the file again and returning it to what it was, but nothing happens.

I already did:
visudo --> www-data ALL = (ALL) NOPASSWD: ALL
sudo lighty-enable-mod fastcgi-php
chmod 755 -R / var / www
sudo /etc/init.d/lighttpd force-reload

The raspberry pi is using a wired connection to the router. The ip of the router is 192.168.0.1

ls of the www folder
root@raspberrypi:/var/www# ls
05_mapper.png AUTHORS.md LICENSE.md PocketVJ-CP-v3 README.md RELEASE_NOTES.md ROADMAP.md backend.php css eXtplorer favicon.ico fonts html images index.html js offline.min.js projector_passwords.md streamer sync themes

eXtplorer does not walk either

thank you very much!!

@magdesign
Copy link
Owner

Thats how my lighttpd.conf looks like:

server.modules = (
        "mod_access",
        "mod_alias",
        "mod_compress",
        "mod_redirect",
        "mod_auth",
#       "mod_rewrite",
)

server.document-root        = "/var/www/"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"
server.port                 = 80
server.dir-listing          = "disable"


#following lines protect the whole directory with a password which is saved in /etc/lighttpd/.htpasswd

#auth.debug = 2
#auth.backend = "plain"
#auth.backend.plain.userfile = "/etc/lighttpd/.htpasswd"
#    auth.require = (
#        "" => (
#            "method" => "basic",
#            "realm" => "Password protected area",
#            "require" => "user=pocketvj"
#        )
#    )




index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny             = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )


compress.cache-dir          = "/var/cache/lighttpd/compress/"
compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )

# default listening port for IPv6 falls back to the IPv4 port
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"


If it does not work, maybe try it with another webserver for which you find a decent tutorial.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants