Re: [OT] CSS and SSI books

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57558
interpreted = N
texte = Hi Tom I would be very interested in what you have done with mod re-write and ..htaccess as this is something that would benefit our site *drastically*. I have had a read about it but have never had the opportunity to follow through on it and it would be good to see how someone else has implemented it from the list. Would you be willing to mail me off list or I am sure there will be other people interested in the code also. Thanks Alan on 4/27/04 10:40 PM, Tom Duke at tduke@technofutures.ie wrote: > Hi all, > > I've just been through all of this. I found the site 'www.alistapart.com' to > be an incredible resource, it showed me how to do things that I didn't think > could be done using CSS. > > So far I have done two standards compliant sites:- > > http://www.enovation.ie - Live > > http://www3.technofutures.ie - Under development > > One major problem that I came across was that the ampersand (&) could not be > used as part of the URL if the site was to be XHTML compliant. To get around > this on the site above (the under development one) I had to make the URLS > search engine safe so to speak. > > I managed to do this using a 'modRewrite' directive in a 'htaccess' file. > This redirects all requests except those for images and css files to a > template called 'parser.tmpl' which splits the requested URL and then searches > databases and includes file based on the results. > > So the following URL :- > > http://www.nala.ie/press/news_list.tmpl?sec=3&_eqSKUdatarq=20010910133535 > > becomes :- > > http://www2.technofutures.ie/press/pressreleases/20010910133535.html > > I know others have achieved similar results by using a custom 'error.db' but > as I do not host directly I was having problems ensuring that all requested > URLs got passed through my 'parser.tmpl' template. > > I would be happy to share any or all the code I used to make this work. It > would also be useful if anyone can find flaws with my logic or implementation. > > - Tom > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [OT] CSS and SSI books ( Rob Marquardt 2004)
  2. Re: [OT] CSS and SSI books ( devaulw@onebox.com 2004)
  3. Re: [OT] CSS and SSI books ( Rob Marquardt 2004)
  4. Re: [OT] CSS and SSI books ( "Tom Duke" 2004)
  5. Re: [OT] CSS and SSI books ( devaulw@onebox.com 2004)
  6. Re: [OT] CSS and SSI books ( "Tom Duke" 2004)
  7. Using .htaccess and ModRewrite - (was [OT] CSS and SSI books) ( "Tom Duke" 2004)
  8. Re: [OT] CSS and SSI books ( Rob Marquardt 2004)
  9. Re: [OT] CSS and SSI books ( Alan White 2004)
  10. Re: [OT] CSS and SSI books ( Dylan Wood 2004)
  11. Re: [OT] CSS and SSI books ( "Tom Duke" 2004)
  12. Re: [OT] CSS and SSI books ( "Tom Duke" 2004)
  13. Re: [OT] CSS and SSI books ( Clint Davis 2004)
  14. Re: [OT] CSS and SSI books ( devaulw@onebox.com 2004)
  15. Re: [OT] CSS and SSI books ( Clint Davis 2004)
Hi Tom I would be very interested in what you have done with mod re-write and ..htaccess as this is something that would benefit our site *drastically*. I have had a read about it but have never had the opportunity to follow through on it and it would be good to see how someone else has implemented it from the list. Would you be willing to mail me off list or I am sure there will be other people interested in the code also. Thanks Alan on 4/27/04 10:40 PM, Tom Duke at tduke@technofutures.ie wrote: > Hi all, > > I've just been through all of this. I found the site 'www.alistapart.com' to > be an incredible resource, it showed me how to do things that I didn't think > could be done using CSS. > > So far I have done two standards compliant sites:- > > http://www.enovation.ie - Live > > http://www3.technofutures.ie - Under development > > One major problem that I came across was that the ampersand (&) could not be > used as part of the URL if the site was to be XHTML compliant. To get around > this on the site above (the under development one) I had to make the URLS > search engine safe so to speak. > > I managed to do this using a 'modRewrite' directive in a 'htaccess' file. > This redirects all requests except those for images and css files to a > template called 'parser.tmpl' which splits the requested URL and then searches > databases and includes file based on the results. > > So the following URL :- > > http://www.nala.ie/press/news_list.tmpl?sec=3&_eqSKUdatarq=20010910133535 > > becomes :- > > http://www2.technofutures.ie/press/pressreleases/20010910133535.html > > I know others have achieved similar results by using a custom 'error.db' but > as I do not host directly I was having problems ensuring that all requested > URLs got passed through my 'parser.tmpl' template. > > I would be happy to share any or all the code I used to make this work. It > would also be useful if anyone can find flaws with my logic or implementation. > > - Tom > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Alan White

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Help with database strategy (1998) Date problems (1997) Works! (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Frames and WebCat (1997) Getting total number of items ordered (1997) 5.0 Pricing (2003) WebMerchant and Mac Auth Hub Help Please (1999) Avery 5160 Mailing Labels (2003) Bug Report, maybe (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Cart Database (1999) WebCommerce: Folder organization ? (1997) Some Advise needed (1997) WCS Newbie question (1997) Multiple prices (1997) Magic [text] shows and then no show (2000) Uploading very large image files (2003) Multi-processor Mac info ... (1997) convertWords... NEW (2001)