Old:Bugs 3.5-Apollo: w2c1.pl
Uniform Server 3.5-Apollo known bugs or issues. |
Disk Start.vbs
Bug fix to update paths when loading Uniform Server as a service
File: w2c1.pl
Location: *\Uniform Server\udrive\plugins\Services
Problem: Some files are not updated with correct path.
Solution: Proposed solution Edit following files and insert correct paths (default folder UniServerX.X substitute if you changed this):
Open file: | aconfig.php |
Location: | C:\UniServerX.X\home\admin\www\ |
Locate line: | 42 |
Change the line from: | $apache = new Config ("/usr/local/apache2/conf/httpd.conf","#"); |
To: | $apache = new Config ("c:/UniServerX.X/usr/local/apache2/conf/httpd.conf","#"); |
Open file: | pconfig.php |
Location: | C:\UniServerX.X\home\admin\www\ |
Locate line: | 40 |
Change the line from: | $PHP = new Config ("/usr/local/PHP/php.ini",";"); |
To: | $PHP = new Config ("c:/UniServerX.X/usr/local/PHP/php.ini",";"); |
Open file: | vhost.php |
Location: | C:\UniServerX.X\home\admin\www\ |
Locate line: | 17 |
Change the line from: | $httpd_conf_sti = "/usr/local/apache2/conf/httpd.conf"; |
To: | $httpd_conf_sti = "c:/UniServerX.X/usr/local/apache2/conf/httpd.conf"; |
Open file: | httpd.conf |
Location: | C:\UniServerX.X\usr\local\apache2\conf\ |
Locate line: | 533 |
Change the line from: |
Alias /docs "/docs/" |
To: |
Alias /docs "c:/UniServerX.X/docs/" |
Open file: | .htaccess |
Location: | C:\UniServerX.X\www |
Locate line: | 21 |
Change the line from: | #AuthUserFile /htpasswd/www/.htpasswd |
To: | #AuthUserFile C:/UniServerX.X/htpasswd/www/.htpasswd |
Open file: | .htaccess |
Location: | C:\UniServerX.X\home\admin\www |
Locate line: | 21 |
Change the line from: | #AuthUserFile /htpasswd/home/admin/www/.htpasswd |
To: | #AuthUserFile C:/UniServerX.X/htpasswd/home/admin/www/.htpasswd |
Note: The next changes are required only if you have changed the default path from c:\UniServerX.X to whatever.
Open file: | Install.bat |
Location: | newpath |
Locate line: | 6, 9, 14 and 19 |
Change the line from: | C:\UniServerX.X |
To: | newpath |
Download
Download this file w2c1.pl.txt save it as w2c1.pl copy to folder *\Uniform Server\udrive\plugins\Services.
Note: This will not overwrite any files use as is or rename it to Disk Start.vbs
Forum reference
Additional information or background can be found on these forum pages.
Thanks to Svens forum for pointing out the .htaccess files.
Proposed solution
See above.
Ric |