Update pivilion manual setup

v3d 2022-05-10 12:56:55 +00:00
parent a90fb7e054
commit ad25cef901

@ -168,7 +168,7 @@ Make sure you are root before doing these steps. The root account is disabled on
`sudo -s`
### Pulling Config and Settings from GitLab
### Pulling Config and Settings from GiLtab
`cd /` (DO NOT SKIP THIS STEP)
@ -311,7 +311,7 @@ You can observe their values and read the comments around them to figure out wha
The Pivilion Apache configuration keeps all its files in
'
`
/var/www/html/pivilion/
|-- gen --> data that apache serves to clients (hotglue files, static HTML or your own website data go here)
| `--- .htaccess --> file that handles redirects (very important for hotspot mode, very important that it isn't there in onion mode)
@ -320,7 +320,7 @@ The Pivilion Apache configuration keeps all its files in
|-- index.html --> HTML layout for generator script
|-- scripts --> scripts for generator script
`-- skeleton --> files that are copied into galleries generated by the generator script
'
`
### .htaccess File Breakdown
@ -342,7 +342,7 @@ This allows access to the directory "img" in the directory the .htaccess file re
Default .htaccess for reference:
'
`
RewriteEngine on
RewriteCond %{REQUEST_URI} !(\/index\.php)$
RewriteCond %{REQUEST_URI} !(\/pi-logo_128\.png)$
@ -359,7 +359,7 @@ RewriteCond %{REQUEST_URI} !(\/modules\/.*)$
RewriteCond %{REQUEST_URI} !(\/tests\/.*)$
RewriteCond %{REQUEST_URI} !(\/*.php)$
RewriteRule ^(.*)$ http://10.1.1.1/index.php [L,R=301]
'
`
The last line