mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
58ade6c1f0
PR: 155727 Submitted by: Lukasz Wasikowski <lukasz@wasikowski.net>
25 lines
581 B
Plaintext
25 lines
581 B
Plaintext
|
|
1. Configure sgwi
|
|
-----------------
|
|
Edit the %%WWWDIR%%/includes/config.inc.php file to reflect your
|
|
setup.
|
|
|
|
The default password for sgwi is admin/admin. It's specified in
|
|
the .htpasswd file in %%WWWDIR%%/ directory. Change it
|
|
with:
|
|
|
|
htpasswd %%WWWDIR%%/.htpasswd admin
|
|
|
|
Also make sure that the location of the .htpasswd file specified
|
|
in .htaccess file matches your path.
|
|
|
|
2. Configure Apache
|
|
-------------------
|
|
Add a line in your httpd.conf to allow the use of .htaccess file.
|
|
|
|
<Directory "%%WWWDIR%%/">
|
|
Options Indexes
|
|
AllowOverride AuthConfig
|
|
</Directory>
|
|
|