Re: [dl-ticket-service] Problem with Thunderbird Set up

2015-12-15 Thread Yuri D'Elia
On 10/12/15 22:45, Yuri D'Elia wrote:
> But maybe it's easier to fix an InternalError then, once you see where
> it's originating.

I've added it. It's under an  block, which
_requires_ Rewrite to work.

This way, it's not going to fail for irrelevant configurations, and it's
going to signal a real error if mod_rewrite is disabled.





Re: [dl-ticket-service] Problem with Thunderbird Set up

2015-12-15 Thread Seb Francis

On 15/12/2015 16:46, Yuri D'Elia wrote:

On 10/12/15 22:45, Yuri D'Elia wrote:

But maybe it's easier to fix an InternalError then, once you see where
it's originating.

I've added it. It's under an  block, which
_requires_ Rewrite to work.

This way, it's not going to fail for irrelevant configurations, and it's
going to signal a real error if mod_rewrite is disabled.





Sounds good :)





[dl-ticket-service] Problem with Thunderbird Set up

2015-12-10 Thread Seb Francis

Hi,

I've been trying to get DL 0.17 to work with Thunderbird 38.4.0 and 
cannot figure out what's going wrong.


The server-side part of DL appears to be installed ok and functioning 
properly.


I've installed the latest Addon in Thunderbird but am unable to add the 
storage service.  This is what I am entering in the Set up Filelink dialog:


REST URL: http://dl.burnit.co.uk/rest.php
Username: My username (which is an admin account)

When I click "Set up Account", Thunderbird immediately says "An error 
occurred while setting up the account!" and does not prompt for a password.


Is there anywhere I can see a log of more information to get a clue what 
is going wrong here?


Thanks,
Seb






Re: [dl-ticket-service] Problem with Thunderbird Set up

2015-12-10 Thread Seb Francis

On 10/12/2015 17:47, Yuri D'Elia wrote:

On 10/12/15 18:12, Seb Francis wrote:

I've installed the latest Addon in Thunderbird but am unable to add the
storage service.  This is what I am entering in the Set up Filelink dialog:

REST URL: http://dl.burnit.co.uk/rest.php
Username: My username (which is an admin account)

When I click "Set up Account", Thunderbird immediately says "An error
occurred while setting up the account!" and does not prompt for a password.

Is there anywhere I can see a log of more information to get a clue what
is going wrong here?

There are a few things to check:

http://www.thregr.org/~wavexx/software/dl/thunderbird.html#troubleshooting




Thanks for your reply Yuri.  I had read this already, but on re-reading 
I found the reason why it wasn't working: I'm using mod_fcgi and this 
doesn't pass Basic Auth properly.


I added an .htaccess file with the following:


RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]


Now it's working fine :)

It might be good idea to include this in the distribution.  As far as I 
can see it wouldn't hurt, regardless of whether fcgi was used.


Seb





Re: [dl-ticket-service] Problem with Thunderbird Set up

2015-12-10 Thread Yuri D'Elia
On 10/12/15 20:21, Seb Francis wrote:
> Thanks for your reply Yuri.  I had read this already, but on re-reading
> I found the reason why it wasn't working: I'm using mod_fcgi and this
> doesn't pass Basic Auth properly.
> 
> I added an .htaccess file with the following:
> 
> 
> RewriteEngine on
> RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
> 
> 
> Now it's working fine :)
> 
> It might be good idea to include this in the distribution.  As far as I
> can see it wouldn't hurt, regardless of whether fcgi was used.

Ah but it's in there ;)

http://www.thregr.org/~wavexx/software/dl/README.html#apache-fastcgi

Note that mod_fcgi buffers the upload into memory, unfortunately.





Re: [dl-ticket-service] Problem with Thunderbird Set up

2015-12-10 Thread Yuri D'Elia
On 10/12/15 18:12, Seb Francis wrote:
> I've installed the latest Addon in Thunderbird but am unable to add the
> storage service.  This is what I am entering in the Set up Filelink dialog:
> 
> REST URL: http://dl.burnit.co.uk/rest.php
> Username: My username (which is an admin account)
> 
> When I click "Set up Account", Thunderbird immediately says "An error
> occurred while setting up the account!" and does not prompt for a password.
> 
> Is there anywhere I can see a log of more information to get a clue what
> is going wrong here?

There are a few things to check:

http://www.thregr.org/~wavexx/software/dl/thunderbird.html#troubleshooting






Re: [dl-ticket-service] Problem with Thunderbird Set up

2015-12-10 Thread Seb Francis

On 10/12/2015 19:45, Yuri D'Elia wrote:

On 10/12/15 20:21, Seb Francis wrote:

Thanks for your reply Yuri.  I had read this already, but on re-reading
I found the reason why it wasn't working: I'm using mod_fcgi and this
doesn't pass Basic Auth properly.

I added an .htaccess file with the following:


RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]


Now it's working fine :)

It might be good idea to include this in the distribution.  As far as I
can see it wouldn't hurt, regardless of whether fcgi was used.

Ah but it's in there ;)

http://www.thregr.org/~wavexx/software/dl/README.html#apache-fastcgi


Yes, this is where I got the clue that I needed to create the .htaccess 
file :)


What I was suggesting is that you include such an .htaccess file with 
the distribution, and then people will not need to edit httpd.conf if 
they happen to use fcgi.  And it shouldn't hurt in the case where fcgi 
is not used.



Note that mod_fcgi buffers the upload into memory, unfortunately.

Yes, it's a shame, although there are other advantages that fcgi brings 
so we stick with it.


Cheers,
Seb




Re: [dl-ticket-service] Problem with Thunderbird Set up

2015-12-10 Thread Yuri D'Elia
On 10/12/15 21:54, Seb Francis wrote:
> What I was suggesting is that you include such an .htaccess file with
> the distribution, and then people will not need to edit httpd.conf if
> they happen to use fcgi.  And it shouldn't hurt in the case where fcgi
> is not used.

RewriteRule might be disallowed in .htaccess though.

But maybe it's easier to fix an InternalError then, once you see where
it's originating.

Any opinions from others?

>> Note that mod_fcgi buffers the upload into memory, unfortunately.
>>
> Yes, it's a shame, although there are other advantages that fcgi brings
> so we stick with it.

fcgi definitely brings major advantages, I don't know why mod_fcgi
wasn't updated to fix this problem in so many years.

This was actually my major issue with apache before I started looking
elsewhere even for low-load servers.