Posted on 08 February 2010.
I found this when using HTTP authentication, not sure if this is a bug on wget or on the server side. This is wget version 1.10.2 compiled on MacOS X 10.4.8 with gcc 4.0.1 and make 3.80, which shows this behaviour: $> wget -O - --no-cache -d --http-user=admin --http-password=XXXXXX http://192.168.128.23/admin/test/advanced
Setting --http-user (httpuser) to admin
Setting --http-password (httppassword) to XXXXXX
DEBUG output created by Wget 1.10.2 on darwin8.8.2.
Posted in Linux
Posted on 08 February 2010.
It seems that there is no way to force overwriting every files when downloading files using wget. However, use -N option can surely force downloading and overwriting newer files.
2 comments:
Posted in Linux
Posted on 08 February 2010. Tags: lynx
Lynx is a text-only Web browser for use on cursor-addressable character cell terminals. It is released as Free software under the GNU General Public License. Supported protocols are Gopher, HTTP, HTTPS, FTP, WAIS, and NNTP.
Posted in Linux
Posted on 08 February 2010.
$ rmdir /tmp/docs
If directory is not empty you will get an error:
$ rmdir letters
Output:
rmdir: letters: Directory not empty
You can change directory to find out files:
$ cd letters
$ ls Continue Reading
Posted in Linux
Posted on 08 February 2010. Tags: Plesk
Plesk uses PHP’s open_basedir setting to restrict PHP scripts to their domain’s httpdocs directory (and /tmp) for security. If you check the domain’s error_log you’ll see that the open_basedir restriction is in effect (or enable display_errors to see errors in your browser, but this is not recommended for production sites).
You can override a domain’s open_basedir setting if you want, for instance you can add domain2′s path2 directory to domain1′s open_basedir like this:
Code:
<Directory /var/www/vhosts/domain1/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/domain1/httpdocs:/tmp:/var/www/vhosts/domain2/httpdocs/path2"
</Directory>
See Including Directives into Web Server Configuration File for instructions on adding custom Apache settings for a domain.
Posted in Linux, Plesk
Advait said…
This worked for me on linux and solaris Continue Reading