Old:Bugs 3.5-Apollo: w2c1.pl

From The Uniform Server Wiki
Revision as of 12:29, 21 June 2013 by BobS (talk | contribs) (BobS moved page Bugs 3.5-Apollo: w2c1.pl to Old:Bugs 3.5-Apollo: w2c1.pl without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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/"
<Directory "/docs/">
  Options Indexes Includes
  AllowOverride All
  Order allow,deny
  Allow from all


Alias /docs "c:/UniServerX.X/docs/"
<Directory "c:/UniServerX.X/docs/">
  Options Indexes Includes
  AllowOverride All
  Order allow,deny
  Allow from all

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 this file w2c1.exe save it to any folder of your choice.

MD5 = 56f23ee97c3b961a008c77a2b03b1f48

The file is a self-extracting archive; double click to run, no need to change the path, it extracts the file w2c1.pl copy this to folder *\Uniform Server\udrive\plugins\Services

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.


Uc small logo.gif Ric