Jump to content
SAU Community

Recommended Posts

Enable mod_rewite in httpd.conf in your apache config.

in the .htaccess file in the root dir put

RewriteEngine On

RewriteCond %{HTTP_HOST} ^(forums|forum)?.skylinesaustralia.com$ [NC]

RewriteRule ^(.*)$ [url=http://www.skylinesaustralia.com/forums/$1]http://www.skylinesaustralia.com/forums/$1[/url] [R=301,L]

What this will do is redirect whoever types in forums.skylinesaustralia.com/whatever or forum.skylinesaustralia.com/whatever to www.skylinesaustralia.com/forums/whatever

You can do a whole shiteload of funky stuff with mod_rewrite, including making the whole forum indexable by search engines directly (ie they won't have to search thru archived pages).

Link to comment
https://www.sau.com.au/forums/topic/44666-fix-for-forumsskylinesaustraliacom/
Share on other sites

yeah that too. I'm assuming that the server's used to co host saunsw.com etc.

don't you have to restart apache if you use httpd.conf every time you make a new rewrite rule?

funky: true you do need to restart apache if you make changes to httpd.conf, but if he needs to enable mod_rewrite he'll need to restart it anyway

and your right it does look like it co-hosts saunsw.com, but don't see how that makes much difference, cept when he restarts apache, both will go down for a few moments :)

mod_rewrite... One of the best apache tools ;)

And I agree with using the .htaccess file for the above, that's what it's for. Otherwise you'd have to restart apache for every change. Might not make a difference with SAU, but on a commercial site, that's something to be avoided at all costs.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

  • Latest Posts

    • That is surely the biggest gathering of Stageas in North America, ever!
    • Remember kids - if you can't afford to buy 2 GTRs......
    • I know people cry at the price of the Getrag 12-14k for a conversion now, but it really is a nice mid point. Not going to get change from 10k on a gearset installed.  $30k++ for sequential.   I know you run the risk of a damaged used one and parts are hard to get but as a street car gearbox its really hard to beat. If you enjoy a more traditional manual, its the choice no question.     
    • Time to decide what’s more import, your power level or your budget because you’re going to struggle to keep both 
    • Our Southern Highlands Cruise is proudly registered with “R U OK?” Day.  Sometimes the best way to check in on your mates is by getting out for a drive together. Sharing a common passion like cars creates the perfect space to chat, connect, and support each other.  A simple “R U OK?” can make all the difference. Let's enjoy the drive, the company, and look out for one another. PLEASE WEAR YELLOW FOR “R U OK?” DAY Sunday 14th September 2025 9:30AM Meeting Crossroads Homemaker Centre 10:00AM Cruise Departure Via Old Hume Hwy 11:45AM Arrival at Mittagong RSL Club Meet Location: Crossroads Homemaker Centre Final Destination: Mittagong RSL Club *Disclaimer* There will be a lead and follow car so no one should get lost. If you would like to attend or bring others along please put your name down and a +1 as numbers will be needed prior! This is NOT a race and we will all be adhering to all road rules. If this is what you want please come to one of our many track days. This is an official SAU:NSW event and will be run under a CAMS permit. One of the things that really sets our club apart is our commitment to being true enthusiasts. When on normal roads we strive to maintain good relations with the authorities as well as the public in general. When attending one of Skylines Australia NSW events please try to: • Be aware of surrounding environment and act accordingly. • Drive courteously on the state’s roads as a true enthusiast should. • Understand how important it is to maintain the good name of SAU NSW and thus, treat others accordingly. • Any misbehavior will not be tolerated and you will be asked to leave.
×
×
  • Create New...