httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meir Hazon" <m...@optier.com>
Subject RE: [users@httpd] Writing to a directory
Date Thu, 30 Nov 2006 08:31:57 GMT
Thanks Owen,
Can I use the apache as an http to ftp proxy in order to do so?
Port 21/ ftp protocol is blocked by a firewall.
The ftp uses PASV mode.
How can it be done?
It will not be an anonymous ftp server, users will have to log into it.
Thanks again,
Meir

-----Original Message-----
From: Boyle Owen [mailto:Owen.Boyle@swx.com] 
Sent: Thursday, November 30, 2006 10:18 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Writing to a directory

> -----Original Message-----
> From: Meir Hazon [mailto:meir@optier.com] 
> Sent: Thursday, November 30, 2006 8:58 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] Writing to a directory
> 
> Hello All,
> 
> I use Apache 2.0 in order to access remote directories over the web.
> 
> Using a web browser it is possible to read and download files 
> from the shown directories but I'm unable to write to any of 
> the directories,

Of course you can't!

The web is essentially an environement for *down-loading* remote
documents, ie it is read-only...

If you want to *upload* documents, you need to arrange this specially.
There are several techniques:

- use a form with enctype="multipart/form-data" and an <input
type="file"> tag (see a good HTML book for details). BTW, you need
server-sided logic to handle the data and write it to a file.

- use mod_dav (distributed authoring) or equivalent to enable the PUT
method of HTTP (see http://httpd.apache.org/docs/2.2/mod/mod_dav.html)

- use an FTP server to upload 

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> I have checked all the operating system permissions (RedHat 
> SE 4.3) and they are all correct.
> 
> How can it be done? How can I write to the directories over the web?
> 
> Thanks,
> 
> Meir
> 
>
 
 
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message