Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Nov 30, 2014 4:18 pm 
Offline
Newbie

Joined: Sun Nov 30, 2014 9:53 am
Posts: 4
Hi again. Trying to install OpenSIPS Control Panel 6 (OS CP) on a Debian Wheezy Linode instance. I installed OS CP in the /var/www/cp6 directory. I then followed these configuration instructions (taken from the OS CP INSTALL doc) for Debian:

Quote:
2. Configure Apache
- you can add the configuration below into one of Apache's existent VHOSTs or
create a new one:

<Directory /var/www/cp6/web>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

<Directory /var/www/cp6>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
deny from all
</Directory>

Alias /cp6 /var/www/cp6/web

- you can read more about Apache's VHOSTS here:
http://httpd.apache.org/docs/current/vh ... mples.html


2. Apache is going to need write permissions on some files / folders in the
/var/www/cp6 subdirectory :

- so you can do:
- for debian: chown -R www-data:www-data /var/www/cp6/
- for redhat: chown -R apache:apache /var/www/cp6/

- or, at least chown the mandatory files:
- for debian: chown -R www-data:www-data /var/www/cp6/web/tools/system/smonitor/generated
chown www-data:www-data /var/www/cp6/config/tools/system/drouting/group_ids.txt
chown www-data:www-data /var/www/cp6/config/tools/system/drouting/gw_types.txt

- for redhat: chown -R apache:apache /var/www/cp6/web/tools/system/smonitor/generated
chown apache:apache /var/www/cp6/config/tools/system/drouting/group_ids.txt
chown apache:apache /var/www/cp6/config/tools/system/drouting/gw_types.txt


I added the OS CP VHOST config from Paragraph 2 into the /etc/apache2/sites-available/default VHOSTS file. (OS CP will not be available as a public Web page so we just need to get to it by typing the public IP address.) However, when I type "http://[public IP address]/cp6" into Chrome (latest version), I get a HTML 404 message

Quote:
The requested URL /cp6 was not found on this server.
Apache/2.2.22 (Ubuntu) Server at xxx.xxx.xxxx.xxx Port 80


So, it seems that I'm getting to the Web server but just not getting to OS CP. Any suggestions on where I should look for config errors? Thanks.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group