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

    • HFM BM57 has a "bad" knee point, IIRC. It's not the same thing as the later R chassis MC.
    • The ATTESSA is functionally identical to R34; there were a bunch of JDM models that continued ATTESSA including Fuga/Q70, Skyline/Q50, Cima etc as an option. All with Auto only and I think mostly for snow regions. AFAIK there were no AWD VR30DDTT sold in Australia - it is on my to do list to check regs for racing a LHD car in Targa/ATR/AASA/CAMS events because if I can get the auto to work it would be interesting to run a 4wd car The Ecuteck TCM tuning is the same model as their ECU tuning, they already have it for R35 and Dose's favourite, BMW. You buy "points" to allow your computer to be tuned, buy either a bluetooth (phone app) or bluetooth+USB+Key (phone and PC) dongle, and pay for a tune that will be locked to your tuner ( ). You can also access the tuning software yourself but 1. it is mega expensive and 2. these computers have a billion parameters that intersect, so how could you ever spend enough time on it to get a decent result.
    • Or, is it a case of what it is like owning an R series Skyline? NFI what the previous owner has done or fiddled with... Ha ha ha After reading through this thread, I went on a bit of a research about the Q50/Q60. Now I'm quite intrigued by them! Is the AWD in them more like a WRX where it's always AWD, or is it more like the ATTESSA in the GTRs? By the sound of this TCU tuning, this sounds like a case of someone has made some real software for it, and you just need the right piece of hardware, and then you license that specific vehicle/TCU. Or is this a case of the software will be really expensive so only a few tuners have it, and you still have to pay a license per vehicle?
    • By popular demand.. it was a coil. Got my hands on 1 new OEM coil, replaced with the one that made the less noise difference when I unplugged it while the car was running and started the car up. No stutter and the engine light was gone. I guess I’ll buy the other 5 they have lol
    • No, code 21 is very straightforward. It can only be the things described in that diagnostic flow. In fact it has no way of knowing that the spark plug resistance is out of spec.
×
×
  • Create New...