Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Conf LogFile for Remote server

Reply to Post Add a New Topic
UserPost

5:29 pm
December 14, 2010


itld

New Member

posts 2

Hello ,  ALL !

I'm try get from remote server

LogFile="https://domain.com/log.pl"

 

answer :

Error: Couldn't open server log
file
"https://domain.com/log.pl?"
: No such file or directory

Setup ('/home/user1/data/www/server.com/cgi-bin/awstats.domain.comconf' file, web server or permissions) may be wrong.

Check config file, permissions and AWStats documentation (in 'docs' directory).

5:49 pm
December 14, 2010


Jean-Luc

Admin

posts 1063

Hello,

You cannot use a URL to specify the log file. You have to use a Linux/Unix path, something like /home/user1/log_directory/file.log.

If the log file is on a remote server, you could use another script that will automatically move the file to the local server before you pass it to AWStats. You can also manually FTP (GET command) the file to the local server.

6:02 pm
December 14, 2010


itld

New Member

posts 2

thank you. undestand.

whats better : cURL or fget for this case ?

9:31 pm
December 14, 2010


Jean-Luc

Admin

posts 1063

curl is okay for HTTP, HTTPS or FTP access. If possible, I would prefer to use ftp_fget in a PHP script or Net::FTP in a Perl script.

Reply to Post

Reply to Topic:
Conf LogFile for Remote server

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 6
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
18 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2447

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
albert_newton – 30
deepakgupta – 28
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)