You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Warwick Bruce Chapman <wa...@thusa.co.za> on 2006/06/17 20:32:31 UTC

[users@httpd] Frontpage 301 Redirect

Hi All

I know this has been asked often, but I cannot seen to find a reponse 
from any of the previous posts.  I have a client who insists on using 
FrontPage 2003 and I've setup WebDAV through Apache for him.  It worked 
just find with 1.3, but since the migration to the 2.0 server we cannot 
seem to change to subdirectories, BUT, with Windows Network Places we 
can browse and write and so on happily.

I have tried creating a redirect-carefully entry for "Mozilla/4.0 
(compatible; MS FrontPage 6.0)", but that made little difference.  I 
upgraded apache to latest.  I tried all combinations of trailing slashes 
on Directory parameters.

If I manually specify the subfolder (without the trailing slash) on the 
FP remote URL, it loads the subfolder (calling it with a trailing 
slash), but will not load any further subfolders:

192.168.0.1 - user [16/Jun/2006:02:07:10 +0200] "PROPFIND /folder/ 
HTTP/1.1" 207 438 "-" "Mozilla/4.0 (compatible; MS FrontPage 6.0)"
192.168.0.1 - user [16/Jun/2006:02:07:12 +0200] "PROPFIND /folder/ 
HTTP/1.1" 207 6098 "-" "Mozilla/4.0 (compatible; MS FrontPage 6.0)"
192.168.0.1 - user [16/Jun/2006:02:07:19 +0200] "PROPFIND 
/folder/subfolder HTTP/1.1" 301 311 "-" "Mozilla/4.0 (compatible; MS 
FrontPage 6.0)"

Network Places browses through quite happily though (note the lack of 
trailing slashes in the calls):
192.168.0.1 - user [16/Jun/2006:02:08:28 +0200] "PROPFIND / HTTP/1.1" 
207 820 "-" "Microsoft Data Access Internet Publishing Provider DAV"
192.168.0.1 - user [16/Jun/2006:02:08:30 +0200] "PROPFIND / HTTP/1.1" 
207 72248 "-" "Microsoft Data Access Internet Publishing Provider DAV"
192.168.0.1 - user [16/Jun/2006:02:09:18 +0200] "PROPFIND /folder 
HTTP/1.1" 207 831 "-" "Microsoft Data Access Internet Publishing 
Provider DAV"
192.168.0.1 - user [16/Jun/2006:02:09:21 +0200] "PROPFIND /folder 
HTTP/1.1" 207 8940 "-" "Microsoft Data Access Internet Publishing 
Provider DAV"
192.168.0.1 - user [16/Jun/2006:02:09:56 +0200] "PROPFIND 
/folder/subfolder HTTP/1.1" 207 837 "-" "Microsoft Data Access Internet 
Publishing Provider DAV"

The first line below is FP, and the second Network Places.  Note how for 
the same location, they get different responses:
192.168.0.1 - user [16/Jun/2006:01:53:01 +0200] "PROPFIND 
/folder/subfolder HTTP/1.1" 301 311 "-" "Mozilla/4.0 (compatible; MS 
FrontPage 6.0)"
192.168.0.1 - user [16/Jun/2006:01:53:45 +0200] "PROPFIND 
/folder/subfolder HTTP/1.1" 207 1753 "-" "Microsoft Data Access Internet 
Publishing Provider DAV"

Please help!

Server version: Apache/2.0.55
Server built:   Jun 16 2006 01:42:10
Server's Module Magic Number: 20020903:11
Architecture:   32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/sbin/suexec2"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"

Ciao
-- 
Warwick Chapman
General Manager
Thusa Business Support cc

Cellular: +27 83 7797 094
Telephone: +27 31 277 1250
Facsimile: +27 31 277 1269
Website: http://www.thusa.co.za

-- There are 10 types of people in this world. Those who understand 
binary, and those who don't.


Re: [users@httpd] Frontpage 301 Redirect

Posted by Joshua Slive <jo...@slive.ca>.
On 6/17/06, Warwick Bruce Chapman <wa...@thusa.co.za> wrote:
>
>
> Joshua Slive wrote:
> > On 6/17/06, Warwick Bruce Chapman <wa...@thusa.co.za> wrote:
> >>
> >> I have tried creating a redirect-carefully entry for "Mozilla/4.0
> >> (compatible; MS FrontPage 6.0)", but that made little difference.  I
> >> upgraded apache to latest.  I tried all combinations of trailing slashes
> >> on Directory parameters.
> >
> > I bet that you haven't properly set redirect-carefully for the
> > requests.  Try setting it unconditionally:
> > SetEnv redirect-carefully
> >
>
> OMG - I think that may just have worked!  Are there any considerations
> to doing this unconditionally?

I doubt it.  It violates the standards, but I've never heard of it
causing problems.  (It is limitted to only non-GET requests.)

But you might also work on fixing your conditional setting.  Something like
BrowserMatch FrontPage redirect-carefully
should also work.

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Frontpage 301 Redirect

Posted by Warwick Bruce Chapman <wa...@thusa.co.za>.

Joshua Slive wrote:
> On 6/17/06, Warwick Bruce Chapman <wa...@thusa.co.za> wrote:
>>
>> I have tried creating a redirect-carefully entry for "Mozilla/4.0
>> (compatible; MS FrontPage 6.0)", but that made little difference.  I
>> upgraded apache to latest.  I tried all combinations of trailing slashes
>> on Directory parameters.
>
> I bet that you haven't properly set redirect-carefully for the
> requests.  Try setting it unconditionally:
> SetEnv redirect-carefully
>

OMG - I think that may just have worked!  Are there any considerations 
to doing this unconditionally?

Thank you!

-- 
Warwick Chapman
General Manager
Thusa Business Support cc

Cellular: +27 83 7797 094
Telephone: +27 31 277 1250
Facsimile: +27 31 277 1269
Website: http://www.thusa.co.za

-- There are 10 types of people in this world. Those who understand binary, and those who don't. 


Re: [users@httpd] Frontpage 301 Redirect

Posted by Joshua Slive <jo...@slive.ca>.
On 6/17/06, Warwick Bruce Chapman <wa...@thusa.co.za> wrote:
>
> I have tried creating a redirect-carefully entry for "Mozilla/4.0
> (compatible; MS FrontPage 6.0)", but that made little difference.  I
> upgraded apache to latest.  I tried all combinations of trailing slashes
> on Directory parameters.

I bet that you haven't properly set redirect-carefully for the
requests.  Try setting it unconditionally:
SetEnv redirect-carefully

Joshua.

---------------------------------------------------------------------
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