New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

httpd error log says Options not allowed here

Started by llamaza, April 17, 2015, 10:14:15 AM

Previous topic - Next topic

llamaza

I'm a kind of newbie here, but I've been reading every related post to my Apache problem in the forum and also google provides help from some other places
The problem is simple: i've got a Joomla app installation that refuses to run because in the .htaccess includes
Options +FollowSymlinks
Options -Indexes

in order to make work the mod_rewrite php module so friendly URL are displayed in the browser.
But the httpd error log file says Options not allowed here...
In the vhost config file there's
<Directory "/home/musgoevents/public_html">
        AllowOverride All
</Directory>

Is there any other directive conf file after vhost.conf that is overrinding this <directory> configuration?
Any clue?



aeanez

hi im using wordpress and .htaccess use mod_rewrite, im using a clean cwp instance and it works propertly whitout any additional config


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress

llamaza

I've not tried yet a Wordpress app, but 99% of my hosts are Joomla so your info is not very helpful for me. :'(
Thanks.

llamaza

#3
Some news. I've managed to solve the problem.
I'm almost 99% sure that vhost.conf is not being loaded in httpd.conf.

As I understand this code at the end of httpd.conf file
Include /usr/local/apache/conf.d/*.conf

should include ALL conf files in that folder, that is to say:
domain-redirects.conf
empty.conf
server-status.conf
suphp.conf
system-redirects.conf
vhosts.conf

but I think there's something wrong and no files are included.

So i've included manually at the end of httpd.conf by inserting...
Include /usr/local/apache/conf.d/vhosts.conf

and it works. I can visit the home page but I can't browse to a menu (diferent addresses) then
No user or group set - set suPHP_UserGroup, referer: http://xxx.xxx.xxx.xxx/~musgoeve/


Any clues? :'(

brijendrasial

Hello,

I did a test install and it seems to be working fine. There is no need to change anything

http://cwp.bullten.com/joomla

llamaza

Hi Bullten,

Thanks for your comment, but your Joomla installation is not rewritting the URL. Please could you activate it from the Global configuration inside Joomla backpanel (administrator) You also need to rename the htaccess.txt file provided as default to .htaccess.

Then we could check the whole thing again.

Thanks again.



llamaza

It works :o
could you post your vhost.conf file or template, please?

brijendrasial

Everything is default, we didnt change anything.