Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: .htaccess should allow some directives |
|
Author |
|
gentlemedia
Joined: 21 Jul 2017 Posts: 2 Location: Rhodes, Greece
|
Posted: Fri 21 Jul '17 16:56 Post subject: .htaccess should allow some directives |
|
|
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: 7377 Location: Germany, Next to Hamburg
|
Posted: Sun 23 Jul '17 16:59 Post subject: |
|
|
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
|
Posted: Mon 24 Jul '17 1:11 Post subject: |
|
|
That's good to hear Thank you, James! |
|
Back to top |
|
|
|
|
|
|