There is no place like 127.0.0.1
Localhost with a looking good and showing the status of the Virtual Hosts.
- Display the localhost projects looking good.
- Show the status of the Virtual Hosts.
- Display the subdirectories, that don't have an index file, looking good.
- Theme options to let the localhost so you.
- Show some custom errors pages (like 403, 404 and 500).
- Nginx and Apache web servers (on any other server may not work as expected).
- Linux and Unix based O.S.
- Partial support for Windows (just show the projects, without listing Virtual Hosts).
Clone the repository into localhost root directory:
# Change directory
cd /var/www
# Clone into
git clone https://github.com/andergtk/localhost-looking-good.git .
Or download and extract the files to the same folder.
See the sample of how should be the file in your web server: Nginx or Apache.
The required settings are:
- Root directory.
- Index file.
- Custom errors pages.
Just if you have problems to save settings.
Execute the following line in terminal, changing the path /var/www
to your
localhost root directory.
sudo find /var/www -type d -exec chmod 775 {} + && sudo find /var/www -type f -exec chmod 664 {} +
Open the localhost page and click on the gear button to set with your preferences.
Any questions or suggestions please contact us.