Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess




On Mon, July 31, 2006 19:43, Casey T. Deccio said:
On Mon, 2006-07-31 at 14:41 +0200, Ernst-Magne Vindal wrote:
I have tryed to redir with .htaccess file and by config virtualhosts. Both
seams
to work ok, but will be happy for some comments for best practice.

According to:
http://httpd.apache.org/docs/2.0/howto/htaccess.html#when

<quote>
.htaccess files should be used in a case where the content providers
need to make configuration changes to the server on a per-directory
basis, but do not have root access on the server system. In the event
that the server administrator is not willing to make frequent
configuration changes, it might be desirable to permit individual users
to make these changes in .htaccess files for themselves. This is
particularly true, for example, in cases where ISPs are hosting multiple
user sites on a single machine, and want their users to be able to alter
their configuration.

However, in general, use of .htaccess files should be avoided when
possible. Any configuration that you would consider putting in
a .htaccess file, can just as effectively be made in a <Directory>
section in your main server configuration file.
</quote>

Casey



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Thanks all, tryed all but no go yet....
That is redirect is ofcause OK, its just the rewrite of url I can't get to
work...anyhow, googleing on

and using <Directory> section:)
thanks

--
/ernst-magne

If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess
    ... but do not have root access on the server system. ... configuration changes, it might be desirable to permit individual users ... to make these changes in .htaccess files for themselves. ... URLs with an implicit external redirect is most useful in combination ...
    (Debian-User)
  • RE: undo rm deleteing /etc very urgent
    ... another server has the same FC configuration and applications? ... filesystem /etc was stored on. ... Most processes only read configuration files in /etc on startup, ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- ...
    (Fedora)
  • Apache:mod_ssl:Error: Private key not found.
    ... I just finished the installation of libapache-mod-ssl and everything ... documentation says to do at the end of the configuration, ... Starting web server: apacheApache/1.3.26 mod_ssl/2.8.9 (Pass Phrase ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Do splash pages make you invisible to search engines
    ... I didn't know sh*t about .htaccess (except that it could be used ... configuration statements which can be placed there. ... honoured without reloading the server. ... The disadvantage is that reading and parsing .htaccess files is ...
    (comp.infosystems.www.authoring.html)
  • Re: Email receiving problems
    ... I am running 'Postfix' SMTP ... I am running the 'Courier IMAP' server. ... Without seeing your configuration I can only guess but, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)