Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Fattur

Pages: [1]
1
Apache / 403 on new domain
« on: February 01, 2017, 08:16:55 PM »
Hi, I'm getting 403 on my domain and I don't know why. I tried to install wordpress but I couldn't be able to access index.php of wordpress or anything. And Now I can't even access files(default index.html). I tried to remove and re-add the user but that was no luck. here is my vhosts file:

Code: [Select]
# vhost_start teknoritma.com
<VirtualHost 172.31.31.116:80>
ServerName teknoritma.com
ServerAlias www.teknoritma.com
ServerAdmin fatih_turan_93@hotmail.com
DocumentRoot "/home/admin/public_html"
ScriptAlias /cgi-bin/ "/home/admin/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/admin/teknoritma.com/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup admin admin
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup admin admin
        suPHP_ConfigPath /home/admin
</IfModule>

<Directory "/home/admin/public_html">
        AllowOverride all
</Directory>

</VirtualHost>
# vhost_end teknoritma.com

2
Apache / Apache error after rebuild.
« on: February 01, 2017, 10:28:30 AM »
Hi, I rebuilt the apache with 2.4.25 and it doesn't starts now. It gives the error below. I tried to remove that require part but it doesn't solves the problem. My CWP version: 0.9.8.215

Code: [Select]
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2017-02-01 05:21:29 EST; 4min 53s ago
  Process: 12087 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Feb 01 05:21:29 teknoritma.com systemd[1]: Starting Web server Apache...
Feb 01 05:21:29 teknoritma.com apachectl[12087]: AH00526: Syntax error on line 12 of /usr/local/apache/conf/sharedip.conf:
Feb 01 05:21:29 teknoritma.com apachectl[12087]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Feb 01 05:21:29 teknoritma.com systemd[1]: httpd.service: control process exited, code=exited status=1
Feb 01 05:21:29 teknoritma.com systemd[1]: Failed to start Web server Apache.
Feb 01 05:21:29 teknoritma.com systemd[1]: Unit httpd.service entered failed state.
Feb 01 05:21:29 teknoritma.com systemd[1]: httpd.service failed.

Pages: [1]