Web Tips

anim-bulbglow.gif (80393 bytes)

Acacia is happy to provide programming tips. Help others by adding your own tips to this page.


The tips shown here are for information only and should be tested thoroughly before use in any production environment.

Last updated 18:07:39-20/12/2008

Click here to add your own tips.

Click to search the Acacia site
Click to search using Google

Web Tips

Tips on browsing and browser configuration

Tip Details
Apache linked to ASP.Net
geoff
If you want to route ASP.Net application pages via Apache, edit the Apache httpd.conf file as follows:

####################################################################
# ASP.Net config
####################################################################
ProxyPass /ASPNetApp/ http://127.0.0.1:80/ASPNetApp/
ProxyPassReverse /ASPNetApp/ http://127.0.0.1:80/ASPNetApp/

<Location /ASPNetApp/ >
# SetHandler server-info
Order deny,allow
Deny from all
Allow from all
</Location>
Check page syntax
Geoff
To check your web site CSS, HTML and Javascript syntax, point you Mozilla browser at the page and then select Tools-Web Development-Javascript Console.  You will see a summary of all errors in a dialogue.
Embed MS Excel in pages
Geoff
See http://www.acacialt.com.au/cgi/excel.cgi for an example of an embedded excel spreadsheet.

See http://www.acacialt.com.au/excel.htm to see how to write this in ASP.Net
Icon for your web site
Acacia
Create a 16x16 icon file and call it "favicon.ico".  Place it in the root folder of your web site in order for IE5 to display this icon on all shortcuts to your web site.
Java Script Clock
Geoff
Check out http://www.acacialt.com.au/clock.htm to see a great example of the power of Java Script.
Shared SSI
Geoff
If you want to store all your server side includes in a common location, use the following syntax:
<!--#include virtual="/Includes/header.htm" -->

This will use the header.htm file in the Includes directory off the root of your web site.  Otherwise, the file must be in or below your current page directory.
Web Page Validation Service
Acacia
Point your browser to http://validator.w3.org/ to find a web site syntax validation service.  It will even make recommendation on ways to improve functionality for diferent browsers.
Web Site Design
Acacia
If you want to see how not to build web sites (or the converse) have a look at http://www.annoyingwebsites.com - highly recommended and the book is worth buying!
XML Reference
Geoff
Expanation of XML
http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/overview/1_xml.html

Click here to add your own tips.