mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Merge pull request #28 from jrmhaig/lighttpd_home
Update README for changed lighttpd directory
This commit is contained in:
		
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							@@ -55,18 +55,21 @@ www-data ALL=(ALL) NOPASSWD:/sbin/ifdown wlan0,/sbin/ifup wlan0,/bin/cat /etc/wp
 | 
				
			|||||||
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli reconfigure
 | 
					www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli reconfigure
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Once those modifications are done, git clone the files to `/var/www`.
 | 
					Once those modifications are done, git clone the files to `/var/www/html`.
 | 
				
			||||||
 | 
					**Note,** for older versions of Raspbian (before Jessie, May 2016) use
 | 
				
			||||||
 | 
					`/var/www` instead.
 | 
				
			||||||
```sh
 | 
					```sh
 | 
				
			||||||
sudo git clone https://github.com/billz/raspap-webgui /var/www
 | 
					sudo rm -rf /var/www/html
 | 
				
			||||||
 | 
					sudo git clone https://github.com/billz/raspap-webgui /var/www/html
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
Set the files ownership to `www-data` user.
 | 
					Set the files ownership to `www-data` user.
 | 
				
			||||||
```sh
 | 
					```sh
 | 
				
			||||||
sudo chown -R www-data:www-data /var/www
 | 
					sudo chown -R www-data:www-data /var/www/html
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
Move the RaspAP configuration file to the correct location
 | 
					Move the RaspAP configuration file to the correct location
 | 
				
			||||||
```sh
 | 
					```sh
 | 
				
			||||||
sudo mkdir /etc/raspap
 | 
					sudo mkdir /etc/raspap
 | 
				
			||||||
sudo mv /var/www/raspap.php /etc/raspap/
 | 
					sudo mv /var/www/html/raspap.php /etc/raspap/
 | 
				
			||||||
sudo chown -R www-data:www-data /etc/raspap
 | 
					sudo chown -R www-data:www-data /etc/raspap
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
Reboot and it should be up and running!
 | 
					Reboot and it should be up and running!
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user