Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Sub Domain help  (Read 2728 times)

meno

  • Newbie
  • *
  • Karma: 0
  • Posts: 12
Sub Domain help
« on: May 16, 2007, 11:05:21 pm »

Does anyone know how to get 1.6 rewrite/htaccess working on a subdomain?

sub.domain.con goes to domain.con/sub

cheers
Logged

Joost

  • Guest
Sub Domain help
« Reply #1 on: May 17, 2007, 12:26:18 am »

There is no difference. Root of the subdomain is root. :)
Logged

bramsyuur

  • Hero Member
  • *****
  • Karma: 23
  • Posts: 873
    • http://snews.vietbee.net
Sub Domain help
« Reply #2 on: May 17, 2007, 12:47:05 am »

My sNews site are in a subdomain.
My server is vietbee.net and my sNews installation are in http://vietbee.net/snews but I use http://snews.vietbee.net.
I've put in my .htaccess "RewriteBase /" only and all work fine... and into your snews.php config, define your base url like your http://subdomain.yourdomain.com/ (with the / at the end!!).
This is all that you need.
Cheers!
Logged
La comunidad sNews en tu idioma!
Comunidad sNews en Espaņol

meno

  • Newbie
  • *
  • Karma: 0
  • Posts: 12
Sub Domain help
« Reply #3 on: May 17, 2007, 02:07:00 am »

Thanks bramsyuur

RewriteBase /

worked perfect
Logged