Page 2 of 2 First 12
  • Jump to page:
  1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    >>Nothing, as if it didn't exist. I suspect VServers have some odd setups of Apache.

    If your httpd.conf currently doesn't have any <VirtualHost>, then don't worry about it.

    To move those stuffs from .htaccess to httpd.conf is just the way how you interpret the full system path of and apply that to httpd.conf.

    For example of your .htaccess system path:

    is equivalent to:

    <Directory "/home/httpd/htdocs">

    So you should put those stuffs within such <Directory> block.

    i.e. for vhost:

    blah blah
    blah blah
    <Directory "/home/httpd/">
    Rewrite stuffs go here
    <Files ~ "^.ht">
    Order deny,allow
    Deny from all

    You might wonder why I placed the <Files> block within <VirtualHost> block but outside the <Directory> block. Check out -> and look at the line -> "Context: server config, virtual host, .htaccess", you then can tell that <Files> block CAN'T be in <Directory> block.

    >>do you know of any good hosting companies that provide BSD/Linux hosting Apache/PHP/MySQL

    Don't know but I would run my own server or go for a co-location service (few hundred $) since I trust nobody but myself. In fact, PHP is pretty insecure in a public host. If you are willing to pay up to $100, why not considering SDSL and pay just a tiny bit more for more speed?

    [This message has been edited by freebsd (edited October 19, 2000).]
  2. #17
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Rep Power

    Those directives work very nicely. Thank you.

    I need to RTFM more! Problem is doing this more as a hobby which "FM" do I "R"?! Learn UNIX, learn Apache, PHP, regex...or read stories to my three kids? The latter always wins :-)

    >>>why not considering SDSL and pay just a tiny bit more for more speed?

    I would love to. I live in a small fishing village in the middle of nowhere in UK and they have just heard of toasters, let alone bandwidth ;-)


    [This message has been edited by forefront (edited October 20, 2000).]
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo