Board index Bugs spartacus fails to mirror htaccess

Found a bug? Tell us!!
User avatar
garvinhicking
Core Developer
 
Posts: 29962
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Tue May 21, 2013 3:44 pm

Hi!

The XML is created just before the files are all mirrored, but it does happen in the same script call. But yes, the files are uploaded due to filesystem existence, not XML parsing or so.

I don't think there's a door being opened, but of course it's better to worry first rather than later, so thanks for your attention! :-)

I would need to inspect how nginx handles files to be able to control s9y.org. I'll first check if it works on netmirror...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
Timbalu
Regular
 
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Wed May 22, 2013 8:46 am

Whow, it is available on both now!!
Did this happen with your changes in github only, for these plugins having an htaccess, or did you need to add it also to the mirror, like suggested in my last (Edit) post?

BTW
Would my example still be a/the way to go?
What about checksum check for security?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
garvinhicking
Core Developer
 
Posts: 29962
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Wed May 22, 2013 9:13 am

Hi!

Yes, saw that too. Great news. So I patched up the emerge_spartacus, and the XML should also contain said files. If that works properly as a download through spartacus, the next step would be to raise the plugin versions so that people can retrieve the new file.

It works now all through .htaccess, no change on a mirror server was required for this.

Checksum-checks could be added, but of course this is some work to implement...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
Timbalu
Regular
 
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Wed May 22, 2013 9:38 am

I released the (old) fckeditor update to have a test Plugin for this tomorrow morning...
Cross your thumbs. :wink:
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
Timbalu
Regular
 
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Thu May 23, 2013 10:35 am

Its in the list and all loaded fine!
Now we can bump plugin versions to free this to the public. :)

If we have a plugin_root/.htaccess file, we can then purge img/.htaccess, which some plugins provide, since htaccess rules fall down the tree, don't they?!

(btw, did you get my beta test mail?)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
garvinhicking
Core Developer
 
Posts: 29962
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Thu May 23, 2013 11:36 am

Hi!

OK. I bumped the version (except dpsyntaxhighlighter, that would be problematic). The img/.htaccess doesn't hurt, so I'd try to prevent extra work for me toc check this.

I just got your beta test mail and replied.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
Timbalu
Regular
 
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Thu May 23, 2013 11:52 am

garvinhicking wrote:except dpsyntaxhighlighter, that would be problematic

Why?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
garvinhicking
Core Developer
 
Posts: 29962
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Fri May 24, 2013 9:25 am

Timbalu wrote:
garvinhicking wrote:except dpsyntaxhighlighter, that would be problematic

Why?


The plugins version number is coupled with the dpssyntaxhighlight external plugin, if we raise one version we need to raise the external library one, or decouple it. Too much hassle.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
Zugschlus
Regular
 
Posts: 106
Joined: Sun Feb 05, 2006 1:54 am
Location: St. Ilgen, Germany

Postby Zugschlus » Thu Mar 16, 2017 2:19 pm

Hi,

sorry to bump this years old thread, but ...

Code: Select all
[4/2059]mh@ivanova:~ $ cat /home/mh-blog-zugschlus-de/s9y/serendipity/plugins/serendipity_plugin_twitter/.htaccess
# Switch off reqrite engine, else documentation gets a wrong link
<Files .htaccess>
Allow from all
</Files>

<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>


Is this .htaccess file the result of this thread? If so, it is supposed to end up in an actual installation?

If this is inteded to be there, please remember that in apache 2.4, the syntax of the ACLs has changed and these places need conditionals depending on the loaded module.

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
http://blog.zugschlus.de/

thh
Regular
 
Posts: 155
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart

Postby thh » Sat Mar 18, 2017 1:59 pm

Zugschlus wrote:If so, it is supposed to end up in an actual installation?


It is - at least it does.

Zugschlus wrote:If this is inteded to be there, please remember that in apache 2.4, the syntax of the ACLs has changed and these places need conditionals depending on the loaded module.


Or mod_access_compat ...

Previous


Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests