Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Htaccess to httpd.conf  (Read 2704 times)

Miloš Kroulík

  • Newbie
  • *
  • Karma: 0
  • Posts: 3
    • http://www.milhaus.wikidot.com
Htaccess to httpd.conf
« on: December 07, 2006, 10:15:39 pm »

Hi all people around,
I am totally newbie here, so sorry for my stupidity ( and of course my bad english, see what country am I from). I have problem with correct installation. It is probably caused by my host, which is not allowing placing .htaccess files. Instead I can post them rewrite rules by email and they will be posted to main configuration file of Apache. So please can anyone send me thse rules for Apache?

Any help much appreciated.

Miloš
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6020
  • Semantically Challenged
    • snews.ca
Htaccess to httpd.conf
« Reply #1 on: December 07, 2006, 10:38:06 pm »

Welcome Milos, to Solucija.
My advice is to find a new host who can allow you to use your own .htaccess file in your site directories. You need this flexibility to apply to your own site. I do not believe your site will function properly if the .htaccess directives are within the server's main configuration file. I have not tried this but I doubt it.
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • “I'm a self-made man and worships my creator.”
    • p-ahlqvist.com
Htaccess to httpd.conf
« Reply #2 on: December 08, 2006, 07:28:08 am »

And welcome from me aswell, Miles...

In addition to Kay's post I say - "and you loose the flexibility to make actual changes in the .htaccess as will be needed as you go along.."
Logged
"It's only dead fish that goes with the flow... "
Updated

Miloš Kroulík

  • Newbie
  • *
  • Karma: 0
  • Posts: 3
    • http://www.milhaus.wikidot.com
Htaccess to httpd.conf
« Reply #3 on: December 08, 2006, 10:54:38 pm »

Thank you for your suggestions, but changing host isn't right solution for me in this case. My current host is one of the best in Czech rep. if I speak about stability and help support. I try to translate information from their help here:

Rules for mod_rewrite are set in main configuration file of web server Apache, hence the effect of the rules can be different from behaving rules wrote straight for application in .htaccess file. This is property of module mod_rewrite.

So, please, can you help me? Or should I switch to another system, which is not require this?
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6020
  • Semantically Challenged
    • snews.ca
Htaccess to httpd.conf
« Reply #4 on: December 08, 2006, 11:08:05 pm »

If your host is using a fairly recent version of Apache and they have the mod_rewrite module enabled in its normal form, then you SHOULD be able to use your .htaccess file as it is. I remember having this problem in April/06 when I first went to upload an sNews install with my host. I requested they activate mod_rewrite and they said they would not as it would be against their security policies. So I said "thanks, and goodbye.

Now... you don't necessarily need your site hosted on a server in your country. You can have it hosted on my server in Toronto Ontario Canada if you like... or anywhere else in the world for that matter.
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

Miloš Kroulík

  • Newbie
  • *
  • Karma: 0
  • Posts: 3
    • http://www.milhaus.wikidot.com
Htaccess to httpd.conf
« Reply #5 on: December 08, 2006, 11:22:52 pm »

OK, but since my site is intended mainly for Czech users, it is best to have site hosted here. It is also better for support and law coverage.

Thanks for your support, I will try to get help from my host now.
Logged