LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-20-2005, 08:35 PM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
While trying to retrieve the URL: /reports The following error was encountered:


Dear friends,

I have a SARG (squid report) run from an apache webserver. To visit the report from browser, user just need to type http://ipofserver/reports. However recently when I tried to access the report, it gave me the following error:

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: /reports

The following error was encountered:

* Invalid URL

Some aspect of the requested URL is incorrect. Possible problems:

* Missing or incorrect access protocol (should be `http://'' or similar)
* Missing hostname
* Illegal double-escape in the URL-Path
* Illegal character in hostname; underscores are not allowed

Your cache administrator is root.


For proper access, it usually prompt me for username and password first, but this one didn't evne prompt, it just took me to the error page.

I couldn't find any error in the log files of apache and squid. everything looks normal for squid and apache. But what is wrong? Anyone who has experienced that please teach me how to trouble shoot.
thanks a lot for taking note of my query!
 
Old 05-21-2005, 10:14 AM   #2
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
No notes in log files??? I do not believe.... Look there again.
[may be you turned logging off???]
 
Old 05-23-2005, 07:30 PM   #3
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Hi there,

thanks for your help,
sorry I misinterpreted, actually I mean there is no error or unusual information in the log files. Everything is normal in there.
But I have figured out the problem, its nothing to do with squid, sarg. Its the problem with the iptables.

thanks for your help!
 
Old 05-24-2005, 07:55 AM   #4
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
Hello, Niceman2005!
Let me say some words about iptables.
After I set them up [allow all necessary traffic and set default policy DROP to INPUT chain] I often add some ' -j LOG ' rules with good informative ' --log-prefix "xxxxxxx: " 'to the end of chain. This helps me to determine some problems or even possible breaking attempts. Also it is a good practice to use different log file for iptables's log.
Wish your servers not to die!
 
Old 05-27-2005, 06:55 PM   #5
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Thanks friend!
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR The requested URL could not be retrieved While trying to retrieve the URL: /re Niceman2005 Linux - General 1 06-29-2005 09:51 AM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM
Error encountered in LFS v6.0 Ch. 4 .bash_profile mbreslin1954 Linux From Scratch 2 04-19-2005 09:54 AM
Information on 2.6.1 error reports. (ERROR inside) vexer Linux - General 3 01-23-2004 07:19 PM
ftp client reports error saavik Linux - Networking 0 05-22-2002 01:38 AM


All times are GMT -5. The time now is 07:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration