Skip to content

Projects

Ali Çömez | Slaweally edited this page Dec 1, 2026 · 1 revision

Projects

Every valid folder in C:\Locarust\www is a project and gets its own address. You can create projects from the window or simply copy a folder into www.

Names

Lowercase letters (a-z), digits and hyphens, up to 63 characters, not starting or ending with a hyphen: blog, my-shop, api2.

Addresses

Address What it serves
http://<project>.slw The project, on its own PHP version. Subdomains work too: *.blog.slw.
https://<project>.slw Same, when Local HTTPS is on.
http://localhost A listing of the www folder (XAMPP/WAMP style).
http://localhost/<project>/ The project folder through localhost, on the default PHP version.

Add the port when it is not the default (http://blog.slw:8080). Unknown .slw names answer 404.

Document root: the public folder (Laravel, Symfony), web (Drupal) or webroot (CakePHP) when it contains index.php, otherwise the project folder itself.

Never served: files starting with a dot (.env, .git) and locarust.txt.

The projects table

Project settings

Icon Action
↗ Open in the browser
📁 Open the folder
🗄 Back up files + database (see Backups)
⚙ Project settings (below)

PHP per project

Project settings → PHP → pick a version → Apply. Only this project switches; the services restart. Install more versions in Components. Each PHP version runs its own pool of 4 FastCGI workers.

Database

The settings row shows the project's database (my-shop → my_shop), how to connect, and Back up, Delete (backs up first) or Create.

Own web server config for one project

Edit in Notepad copies the generated nginx/Apache block for this project to etc\sites\<project>.<nginx|apache>.conf and opens it. Edit, save, press Apply. From then on Locarust uses your file for this project. Back to generated deletes it.

Delete a project

Project settings → Delete project → click again to confirm. Locarust:

  1. backs up the files and the database to backups\<project>_<time>.zip,
  2. deletes the folder,
  3. drops the database (when Also delete its database is ticked),
  4. removes the hosts entry (one admin prompt), the certificate and per-project settings.

Restore it any time from Backups.

hosts file

Locarust adds 127.0.0.1 <project>.slw # locarust for every project and removes the lines of deleted projects, in one admin prompt. It only touches lines tagged # locarust and keeps a backup as hosts.locarust.bak. If a project shows hosts entry missing, press Sync the hosts file.

Clone this wiki locally