LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-08-2006, 05:38 AM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 504

Rep: Reputation: 31
Question webcbq can't show in webpage


Dear Friends ,

I have configured my "webcbq(webcbq-0.2.tar.gz)" into my Linux Enterprise 4 server in the following way :

Configuration
----------------

a) Edit "config.php" from where you copy WebCBQ files

Here you configure the following:
- Network interfaces on your machine
- Language you would like to see in WebCBQ (english or spanish)
- Directory where you save cbq.init rules files
- Directory where you have cbq.init script

b) Aggregates in apache config file

cp /var/www/html/webcbq/webcbq.conf /etc/httpd/conf/
vi /etc/httpd/conf/httpd.conf
(add the following line at the end
Include /etc/httpd/conf/webcbq.conf

c) Add the users that will be granted to access WebCBQ

htpasswd -c /etc/httpd/conf/webcbq.passwd admin
(enter the user password)

htpasswd /etc/httpd/conf/webcbq.passwd AnotherUser
(enter the user password)

d) Change some directories permissions:

chmod 755 /var/www/html/webcbq
chown root:apache /etc/sysconfig/cbq
chmod -R 775 /etc/sysconfig/cbq

*NOTE*: If you have rules files, YOU MUST add "P__" to the name or
description.
Ej.: cbq-1000.eth0 --> cbq-1000.P__eth0

e) THIS IS INSECURE BUT I COULD NOT FIND THE WAY TO RUN cbq.init AS ROOT.

vi /etc/sudoers
(add the following line at the end
apache ALL = (ALL) NOPASSWD: /sbin/cbq.init,/sbin/tc,/sbin/ip

f) Restart APACHE service

/usr/sbin/apachectl restart

(or)

service httpd restart

Test
---------------
Test enter to http://localhost/webcbq


Now when i use "http://localhost/webcbq" link into the web page then i can't get "webcbq" based pages into my browser .It shows just "index.php" page with some "sentence" . I don't understand where is the problem .Plz help me how i can view "webcbq" page into my web browser .

Thx..........
 
Old 08-09-2006, 04:13 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
It shows just "index.php" page with some "sentence"
What is the exact message?
What do your Apache logs say?
What does your PHP log say?

Also have you noticed WebCBQ requires PHP register_globals to be "on"? This is a security risk which means you must restrict access to WebCBQ to only "trusted" IP's or ranges.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webpage How-To Linux~Powered Programming 5 03-19-2007 05:20 PM
Webpage troycus Linux - Software 4 06-16-2005 12:26 PM
Webpage wont show up. JerryMcFarts Linux - General 4 04-24-2005 09:27 PM
no one can see my webpage! killjoyce Linux - Networking 7 04-06-2004 02:53 PM
Help with webpage lockejr Linux - General 16 03-28-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration