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

    • Yeah well per the video it took 15s for the stock unit to start up....even if I give it a few seconds discount for starting that is at least 12 sec before you get a reverse camera if you are trying to leave a park.  The android unit is way faster, but 2016 for the stock unit is a long time ago in consumer electronics
    • Yea that’s why I said ima test them with multimeter and see the reads.
    • Only at idle. Isn’t a problem when rev it seems.
    • @Haggerty This seems silly to ask, but are you confident in your ability to tune the Haltech?  
    • Next on the to-do list was an oil and filter change. Nothing exciting to add here except the oil filter is in a really stupid place (facing the engine mount/subframe/steering rack). GReddy do a relocation kit which puts it towards the gearbox, I would have preferred towards the front but there's obviously a lot more stuff there. Something I'll have to look at for the next service perhaps. First time using Valvoline oil, although I can't see it being any different to most other brands Nice... The oil filter location... At least the subframe wont rust any time soon I picked up a genuine fuel filter, this is part of the fuel pump assembly inside the fuel tank. Access can be found underneath the rear seat, you'll see this triangular cover Remove the 3x plastic 10mm nuts and lift the cover up, pushing the rubber grommet through The yellow fuel line clips push out in opposite directions, remove these completely. The two moulded fuel lines can now pull upwards to disconnect, along with the wire electrical plug. There's 8x 8mm bolts that secure the black retaining ring. The fuel pump assembly is now ready to lift out. Be mindful of the fuel hose on the side, the hose clamp on mine was catching the hose preventing it from lifting up The fuel pump/filter has an upper and lower section held on by 4 pressure clips. These did take a little bit of force, it sounded like the plastic tabs were going to break but they didn't (don't worry!) The lower section helps mount the fuel pump, there's a circular rubber gasket/grommet/seal thing on the bottom where the sock is. Undo the hose clip on the short fuel hose on the side to disconnect it from the 3 way distribution pipe to be able to lift the upper half away. Don't forget to unplug the fuel pump too! There's a few rubber O rings that will need transferring to the new filter housing, I show these in the video at the bottom of this write up. Reassembly is the reverse Here's a photo of the new filter installed, you'll be able to see where the tabs are more clearing against the yellow OEM plastic Once the assembly is re-installed, I turned the engine over a few times to help build up fuel pressure. I did panic when the car stopped turning over but I could hear the fuel pump making a noise. It eventually started and has been fine since. Found my 'lucky' coin underneath the rear seat too The Youtube video can be seen here: https://www.youtube.com/watch?v=uLJ65pmQt44&t=6s
×
×
  • Create New...