5 May 23:13
Re: pyblosxom rewrite and comments
On Monday 05 May 2008 16:25:06 sigi wrote: > I activated mod_rewrite with a .htaccess-file as mentioned in your > documentation with: > RewriteEngine on > RewriteRule ^(.*)$ /cgi-bin/pyblosxom.cgi/$1 [last] That's what I'm using. It took me a while to get around to using mod_rewrite, but it does make for much clearer URLs. > The rewriting works well, but I can't get the comments-plugin working > now: It simply rejects all incoming comments. > My datadir is set to /var/www/ - if I set comment_dir to > /var/www/comments (where it's located) or not, doesn't make any > difference. > The standard form-method in my comments-form looks like > <form method="post" action="$base_url/$file_path.$flavour#comment_anchor" > name="comments_form"> I also tried to give the static url, > /cgi-bin/pyblosxom.cgi included, but that didn't help. I was having some issues with submitting comments. I think it was related to whether people came to my site with a URL without the www. I ended up changing my comment-form.html to hard-code the base URL as below <form method="post" action="/cgi-bin/pyblosxom.cgi/$file_path" That seems to work. Good luck. -- -- Steve ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
RSS Feed