AllowOverride for users via .htaccess on vps

Posted on 2006-05-23
Last Modified: 2008-02-26
I'm trying to set Apache conf so that the default for new accounts has
AllowOveride features for .htaccess, users should only be able to do things
that are similar to that below in .htaccess

RewriteCond, RewriteRule, DirectoryIndex, ErrorDocument, AddType, AddHandler
php_flag session.use_trans_sid off, php_value "register_globals" "1"
AND common Options directives

What is best option for AllowOverride, and how should it be set?
(i.e. <virtualhost> in httpd.conf)
To be sure AllowOverride set to ALL would pose some sort of security risk??

I'm confused, is this set in <virtualhost> in main .conf or www.domain.conf?

CentOS 4
Apache 1.3.36, and 1.3.34 updated.

Thanks guys,
Question by:linweb
    1 Comment
    LVL 51

    Accepted Solution

    > What is best option for AllowOverride, ..
    'cause if you allow that to be done by users, then your server is open to countless threats configured by the user, and more worse: each user configuration compromises the whole server (in particular all other users).
    Believe me, you won't do that.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
    Article by: kevp75
    Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video discusses moving either the default database or any database to a new volume.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now