Open-AudIT

What's on your network?
It is currently Tue Jan 23, 2018 4:27 pm

All times are UTC + 10 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Apr 06, 2013 5:05 am 
Offline
Newbie

Joined: Tue Apr 02, 2013 4:11 am
Posts: 6
I just started to use OA, and find it is a cool tool to keep track of what is on your network. It runs right out of box (in Windows) in C:\ under port 80. However, the server that I want to use OA already has something running on port 80. Changing Apache to run on 8080 doesn’t work. After digging around, finally I can make it work under port 8080. Unfortunately, I am not a programmer. The change I make was to hard code it to port 8080, which means it could break somewhere that I haven’t noticed yet. Mark could probably already have this fixed in the next version already. Anyway, here you go for those who wants to use OA 9.2 in Windows port 8080.

1) In XAMPP control panel, open Apache’s httpd.conf, and change the following:
    Change “Listen 80” to “Listen 8080”
    Change “ServerName localhost:80” to “ServerName localhost:8080”

2) Open config.php under C:\XAMPP\OAv2\code_igniter\application\config
    Comment out line 26
    # $config['base_url'] .= isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '80' ? ( ':'.$_SERVER['SERVER_PORT'] ) : '';

3) Open config.php under C:\xampp\OAv2\code_igniter\system\core
    I am not sure about the logic here so I am going to add a line inside of function __construct() to hard code it to port 8080
    $base_url = 'http://localhost:8080/';


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group