Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Configure Htaccess File On Linux Centos Rate Topic   - - - - -

 
  • amitayb
  • Newbie
  • Members
  • Join Date: 06-Dec 18
  • 10 posts

Posted 07 February 2019 - 12:25 PM #1

Hi,

I'm installing fresh of MVE on centos server using apache.

the instructions says:

 

https://docs.cs-cart...quirements.html

 

the .htaccess file should allow the following directives:

DirectoryIndex Deny Allow Options Order AddHandler RewriteEngine RewriteBase RewriteCond RewriteRule

how should I config htaccess file to allow the written directives?

thanks in advance.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19365 posts

Posted 07 February 2019 - 01:26 PM #2

They meant that your server configuration should allow htaccess to change values of mentioned directives. There is no need to change .htaccess file after installation


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • amitayb
  • Newbie
  • Members
  • Join Date: 06-Dec 18
  • 10 posts

Posted 07 February 2019 - 01:28 PM #3

Hi,

thanks for your reply.

so the htaccess file in inside cscart folder ?

so this instruction means nothing?

 

how can I know if my server allows htaccess to change values of mentioned directives?



 
  • imago
  • Senior Member
  • Members
  • Join Date: 18-Oct 18
  • 461 posts

Posted 07 February 2019 - 03:24 PM #4

 

how can I know if my server allows htaccess to change values of mentioned directives?

 

Create and open a phpinfo.php in the root



 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3798 posts

Posted 07 February 2019 - 05:19 PM #5

Administration->Logs->Select gear icon->PHP information



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19365 posts

Posted 08 February 2019 - 05:42 AM #6

so the htaccess file in inside cscart folder ?
so this instruction means nothing?


You are right
 

how can I know if my server allows htaccess to change values of mentioned directives?


You can ask hosting administrator about it. In 99% you should not do anything

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • imago
  • Senior Member
  • Members
  • Join Date: 18-Oct 18
  • 461 posts

Posted 08 February 2019 - 08:20 AM #7

Administration->Logs->Select gear icon->PHP information

 

I never pay due attention to these gears :-)



 
  • amitayb
  • Newbie
  • Members
  • Join Date: 06-Dec 18
  • 10 posts

Posted 10 February 2019 - 01:07 PM #8

thanks. you help me solve this issue



 
  • amitayb
  • Newbie
  • Members
  • Join Date: 06-Dec 18
  • 10 posts

Posted 11 February 2019 - 09:22 AM #9

Hi,

I dont get it my my http error log has the following:

[Mon Feb 11 11:14:55.345707 2019] [autoindex:error] [pid 20594] [client 213.32.253.72:59837] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive.

 

my site is under /var/www/html/cscart/.

in cscart folder I have the .htaccess file.

why the log talk about my main apache dir?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19365 posts

Posted 11 February 2019 - 01:57 PM #10

It should be addressed to server administrator


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.