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

    • Hello First, I apologize if this is not the correct forum. Let me know and I will move it to the correct one. I'm having a problem with the tachometer on my Skyline R33 with an RB25DET Neo engine. I'll tell you from the beginning. I'll tell you from the beginning. I have the RB25DET Neo engine installed in a Nissan Patrol GU, with a Link G4X control unit specifically for that engine,  and I have fitted a Skyline R33 tachograph to the original GU dashboard, but it doesn't work properly. I have the tachometer connected to the positive and negative terminals of the GU panel's wiring, and the signal cable is connected directly to the ECU output pin, but the rpm fluctuates widely. Can anyone tell me if the output signal from an R33 ECU is the same as the output signal from an R34 ECU, or if the voltage and signal type are different? Regards and thanks.  
    • I guess it was the thought about "Oh if I were to drive this everyday". Then no, SL500 I wouldn't really consider lmao. 
    • Yeah actually really fair point. Idk what I was thinking when looking at the SL500. Now that I think about it, I feel like I would have more enjoyment out of a shitbox that I would need to repair than some fancy merc. Although I must admit the SL500 does look quite nice. My bad hahaha.
    • 100% Also "Not wanting to spend money" is THE WORST IDEA IMAGINABLE when coming to a project car of any kind. They EXIST to BURN MONEY. Sure, gas money is a thing. A stock car with the worst fuel economy ever sold would probably be cheaper than modifying a car with FREE petrol for the life of your ownership of it, lol.
    • Amount of time you're being observed by law enforcement is so minute, that you could be a dumb shit 90% of your driving time, and never lose a demerit. You could also be the best driver ever and still get hit with a fine.   When you realise how quickly everything turns from "Wee, we're having fun!" To "oh f**k oh f**k oh f**k", you start to realise the only way to be a good driver, is to not be doing anything dumb or unexpected by normies on the road. You want to go fast, go to the track. Someone there in a 1990s slow POS will also show you how bad of a driver you are as they lap 10 seconds per lap quicker than you can in a car that should be considerably faster.
×
×
  • Create New...