Operating Systems > Linux and UNIX

Mirroring

<< < (2/3) > >>

Master of Reality:
why wouldnt you?

flap:

quote:Originally posted by Stryker:
I know, but when you do wget you do not get the source code for any cgi, php, or any scripting involved.
--- End quote ---


well there's typically no way to get that using http; you won't have read permissions on it. there's no way to get server side scripts unless the webmaster has specifically made them available somehow.

Master of Reality:
I thought the scripts were 755 permissions which would make them Executable and readable?

voidmain:
I use rsync over ssh to mirror web sites. rsync will only update files that have changed. Obviously the first time you run it it will have to pull the entire web site. You will need ssh access to both servers in question and those servers will need to have rsync installed if they do not already.

flap:

quote:Originally posted by The Master of Reality / Bob:
I thought the scripts were 755 permissions which would make them Executable and readable?
--- End quote ---


For security reasons you don't want users of your website seeing the raw content of your scripts. The point is if you request a script from a web server it will parse that script and give you rendered html. How would you propose to get, for example, the ultimatebb.cgi script from this webserver?

[ October 14, 2002: Message edited by: flap ]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version