Windows - WAMP Server - Intall URL Forward Issue - http://localhost/install/install/install/install/install/
Views 591
Sweets 0
Images 0

4 years ago Topic

DaVaR
Offline
Administrator
Total Posts: 141
Joined: July 14, 2015
Posted: December 04, 2015 @ 11:26 PM
I am attempting to install UAP on a Windows 10 machine. I have WAMPserver 2.5 running with default settings. mod_rewrite is enabled. When I open the main url for the site (http://localhost/) I get redirected to http://localhost/install/install/install/install/install/ instead of http://localhost/install/ Will post my solution when I find one.

Signature UAP v4.3.0 is Here!!!

Please keep questions and comments in the forum.

Reply By: DaVaR
4 years ago #1

DaVaR
Offline
Administrator
Total Posts: 141
Joined: July 14, 2015
Posted: December 04, 2015 @ 11:32 PM
I was able to edit the /models/db-settings.inc with the following install settings near the end of the file.
Code
//Direct to install directory, if it exists
if(is_dir(\"install/\"))
{
	header(\"Location: http://localhost/install/index.php\");
	die();
}


Signature UAP v4.3.0 is Here!!!

Please keep questions and comments in the forum.

Reply By: mudmin
4 years ago #2

mudmin
Offline
Member
Total Posts: 14
Joined: December 03, 2015
Posted: December 11, 2015 @ 09:11 AM
I think you\'re going to need some sort of \"site_root\" attribute for that because even if people have wamp/xampp running, they\'re probably going to install UAP in a subfolder.


Reply By: DaVaR
4 years ago #3

DaVaR
Offline
Administrator
Total Posts: 141
Joined: July 14, 2015
Posted: December 12, 2015 @ 08:45 AM
Good call. I have not yet tried installing in a sub folder. I will have to give that a try when I get a chance.

Signature UAP v4.3.0 is Here!!!

Please keep questions and comments in the forum.

Forum Permissions
You cannot post in this forum.
You cannot moderate this forum.
You cannot administrate this forum.
Search Forums
Forum Recent Posts