Getting 404 for urls that end in .[flavour]

View: New views
3 Messages — Rating Filter:   Alert me  

Getting 404 for urls that end in .[flavour]

by Fernando Espinoza :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.

I installed pyblosxom yesterday, and have been trying to get it to work for just too many hours.

You can see in http://www.sanpanchoblog.com/ that the links for RSS, comments, permanent link, etc... all result in 404s. Anything that ends with foo.flavourname fails, but if I substitute foo/?flav=flavourname it works.

e.g:
http://www.sanpanchoblog.com/index.rss20 FAILS
http://www.sanpanchoblog.com/?flav=rss20 SUCCEEDS

What am I doing wrong? How can I fix this?

You can see a copy of the output on debug mode at: http://www.sanpanchoblog.com/dump.html

Thank you.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pyblosxom-users mailing list
pyblosxom-users@...
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users

Re: Getting 404 for urls that end in .[flavour]

by will guaraldi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The 404 error is coming from your web-server--not from PyBlosxom.  So
the index.rss20 request isn't getting routed to PyBlosxom....  In fact,
no request gets through if it has any PATH_INFO bits.

How do you have PyBlosxom deployed?  Are you using CGI?  Are you using
Apache with an .htaccess file that has RewriteRules in it?  If so, what
are the RewriteRules you're using?

/will


Fernando Espinoza wrote:

> Hello.
>
> I installed pyblosxom yesterday, and have been trying to get it to work
> for just too many hours.
>
> You can see in http://www.sanpanchoblog.com/ that the links for RSS,
> comments, permanent link, etc... all result in 404s. Anything that ends
> with foo.flavourname fails, but if I substitute foo/?flav=flavourname it
> works.
>
> e.g:
> http://www.sanpanchoblog.com/index.rss20 FAILS
> http://www.sanpanchoblog.com/?flav=rss20 SUCCEEDS
>
> What am I doing wrong? How can I fix this?
>
> You can see a copy of the output on debug mode at:
> http://www.sanpanchoblog.com/dump.html
>
> Thank you.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pyblosxom-users mailing list
pyblosxom-users@...
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users

Re: Getting 404 for urls that end in .[flavour]

by Fernando Espinoza :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found my mistake by reading through the code in the flavours. I had set base_url to http://www.foo.com, I just changed it to http://www.foo.com/index.cgi. Now the urls look like: http://www.foo.com/index.cgi/index.rss20, and they work.

Now I will try to make the URLs look nicer, I hope  don't have to come back here soon.

Thanks a lot for your very quick reply.

On Tue, Jun 17, 2008 at 7:41 AM, will <willg@...> wrote:
The 404 error is coming from your web-server--not from PyBlosxom.  So the index.rss20 request isn't getting routed to PyBlosxom....  In fact, no request gets through if it has any PATH_INFO bits.

How do you have PyBlosxom deployed?  Are you using CGI?  Are you using Apache with an .htaccess file that has RewriteRules in it?  If so, what are the RewriteRules you're using?

/will



Fernando Espinoza wrote:
Hello.

I installed pyblosxom yesterday, and have been trying to get it to work for just too many hours.

You can see in http://www.sanpanchoblog.com/ that the links for RSS, comments, permanent link, etc... all result in 404s. Anything that ends with foo.flavourname fails, but if I substitute foo/?flav=flavourname it works.

e.g:
http://www.sanpanchoblog.com/index.rss20 FAILS
http://www.sanpanchoblog.com/?flav=rss20 SUCCEEDS

What am I doing wrong? How can I fix this?

You can see a copy of the output on debug mode at: http://www.sanpanchoblog.com/dump.html

Thank you.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pyblosxom-users mailing list
pyblosxom-users@...
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
LightInTheBox - Buy quality products at wholesale price!