logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



.htaccess should allow some directives

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
gentlemedia



Joined: 21 Jul 2017
Posts: 2
Location: Rhodes, Greece

PostPosted: Fri 21 Jul '17 16:56    Post subject: .htaccess should allow some directives Reply with quote

Hi,

I'm new here, because I'm new to configuring a VPS. The VPS was required for CS-Cart Multi-vendor that gets installed on it.

The OS (centOs) has Apache 2.4 installed on it and this came with WHM/cPanel. According to the CS-Cart server requirements I have to do this:

Quote:
the .htaccess file should allow the following directives
:

Which are:
    DirectoryIndex
    Deny
    Allow
    Options
    Order
    AddHandler
    RewriteEngine
    RewriteBase
    RewriteCond
    RewriteRule


http://docs.cs-cart.com/4.6.x/install/system_requirements.html

I'm totally new to this and have added the following to a Apache config file:
Code:
<Directory /home/hennepplaza/public_html/>
    Options FollowSymLinks MultiViews Includes Indexes
    AllowOverride All
    Require all granted
</Directory>


Is this enough or do I have to add more rules/blocks to the config file?

Thanks in advance !

Ralph
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Sun 23 Jul '17 16:59    Post subject: Reply with quote

AllowOverride All enables all settings for .htaccess files.
Short answer: yes it is enough

Options Includes is only needed for SSI pages.
Indexes and MuliViews only if you need to display the content of folders in the webbrowser
Back to top
gentlemedia



Joined: 21 Jul 2017
Posts: 2
Location: Rhodes, Greece

PostPosted: Mon 24 Jul '17 1:11    Post subject: Reply with quote

That's good to hear Smile Thank you, James!
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1