Ticket #142 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Fix .htaccess related issues

Reported by: anonymous Owned by: sdcosta
Priority: normal Milestone: Gregarius 0.5.2
Component: BUGS Version:
Severity: normal Keywords:
Cc:

Description

.htaccess is writable but is never written to, even if the option to use it is turned on. Obviously, this means that everything is 404.

Yes, mod_rewrite works on my host.

I even tried creating it myself, and making it writable, but no go. I've tried adding feeds, deleting feeds, refreshing feeds. Nothing will make it write.

Attachments

gregarius-.htaccess.diff (372 bytes) - added by mark.gregarius@… 3 years ago.
patch to fix .htaccess

Change History

Changed 3 years ago by mark.gregarius@…

Okay, my mistake. I thought .htaccess would be generated dynamically, but apparently it is static.

I deleted it because it was giving me a 400 error. If I went to http://example.com/rss, it would give the error, but not http://example.com/rss/

I figured out the problem. (I'm "anonymous")

In .htaccess, you need:

SetEnvIf Request_URI "/" static

Cheers, guys. I'm really liking it. I help out with WordPress and will likely be helping out here whenever I notice bugs or want to add some functionality.

Changed 3 years ago by mark.gregarius@…

patch to fix .htaccess

Changed 3 years ago by anonymous

  • summary changed from .htaccess is never updated to HTTP 400 error

Okay, nevermind, that breaks the other URIs.

Still looking for a fix.

Changed 3 years ago by anonymous

  • summary changed from HTTP 400 error to Fix .htaccess related issues
  • milestone set to Gregarius 0.5.2

The .htaccess file is far from optimal. Any help appreciated.

Changed 3 years ago by sameerdcosta@…

Hi, you could try http://wiki.gregarius.net/index.php/Apache_configuration_tips

If you do not have access to your conf.d and your apache installation automatically corrects something like http://example.com/dir to http://example.com/dir/ then trying adding this line to your .htaccess (near all the other SetEnvIf?'s)

 SetEnvIf Request_URI "/rss$" static 

in the .htaccess file

It works fine for me. YMMV

If you still have problems try posting on the gregarius-dev mailing list. You usually get a reponse there quicker.

Changed 3 years ago by sdcosta

From #173, this needs to be fixed also.

If you type in:

http://www.mysite.com/rss/My_Feed_Name

You get an error message instead of goin to:

http://www.mysite.com/rss/My_Feed_Name/

Changed 3 years ago by sdcosta

  • owner changed from mbonetti to sdcosta
  • status changed from new to assigned

Changed 3 years ago by sdcosta

  • status changed from assigned to closed
  • resolution set to fixed

fixed in changeset [881]

Note: See TracTickets for help on using tickets.