[Clipart] [Bug 3508] BLOG: Add wordpress blog engine to the site like Inkscape.org
Jonathan Leighton
turnip at turnipspatch.com
Thu Jun 23 06:01:21 PDT 2005
I've put a generic .htaccess solution in:
RewriteEngine On
# Relative paths in feeds might end up at wp/some/path, this redirects them
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /$1 [R=301,L]
I'm in #freedesktop at the moment and Daniel is going to edit the VHost
config file for me so that it works.
TBH I'd like to use proper absolute paths on the website. All that
$site_root stuff is extremely messy. I know it's done with relative
paths so that people running from a subdirectory on their local machine
(like http://localhost/clipart/) don't have a problem, but really, I
don't think that's a good excuse. Absolute paths make life *so* much
easier (after you've been bothered to set up VHosts), and I really
wouldn't do it any other way on one of my own sites. Also, URIs like
/contact.php are bad (what happens if you change technology? the file
name changes --> 404s), it should be done as just "/contact/" (Which can
be implemented with MultiViews easily -- not mod_rewrite). Furthermore,
cgi-bin directories are really, really, really (REALLY) evil (see above
about technologies).
I'm probably all on my wee todd here with this opinion, but let me put
it this way: if programmers joined a compiled project (eg. Inkscape or
whatever), you would expect them to use the right tools for the job, and
set up their system in the appropriate manner. You wouldn't make
compromises. Think about it.
Jon
Matthew Gates wrote:
>The link from create.freedesktop.org to our download page is dead. The
>link points at http://openclipart.org/wp/downloads/index.php
>
>It might be better to use mod_rewrite than get the link sorted out. In
>our /.htaccess file or whereever we can use:
>
>RewriteEngine on
>RewriteRule ^wp/downloads/index.php$ /downloads/index.php
>
>I only recently discovered the joys of mod_rewrite. I'm amazed I lived
>without it for so long.
>
>On Thursday 23 June 2005 06:41, Jon Phillips wrote:
>
>
>>On Thu, 2005-06-23 at 09:13 +0300, Nicu Buculei wrote:
>>
>>
>>>Jon Phillips wrote:
>>>
>>>
>>>>Cool, did you add it to http://create.freedesktop.org ?
>>>>
>>>>
>>>I added it now
>>>
>>>
>>>
>>>>That is the project on the backburner that is a slow burner...kinda
>>>>slowly fill it up and then announce ;)
>>>>
>>>>
>>>I guess the "create" project need some love, otherwise it may die :D
>>>
>>>
>>It will get love in due time. We just have to gradually add various
>>project blogs to it. Ok, I'm going to give it some love after this
>>month's ocal release.
>>
>>Jon
>>
>>
>_______________________________________________
>clipart mailing list
>clipart at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/clipart
>
>
>
>
>
--
Jonathan Leighton aka. Turnip
http://turnipspatch.com/ | http://digital-proof.org/
More information about the clipart
mailing list