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.
Pages: [1]
2
Apache / Re: 403 on new domain
« on: February 01, 2017, 09:01:04 PM »
It was disabled when I first encountered the problem then I enabled it so yes and there was nothing on the log. And I disabled it again and the problem persist.
3
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
4
Apache / Re: Apache error after rebuild.
« on: February 01, 2017, 03:10:17 PM »
That seems like fixed it for now but in order for it to work remove reboot, install reboot then it works. Thank's a lot
5
Apache / Re: Apache error after rebuild.
« on: February 01, 2017, 02:19:25 PM »
Of course
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 15:18:28 CET; 22s ago
Process: 10716 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
Feb 01 15:18:27 teknoritma.com systemd[1]: Starting Web server Apache...
Feb 01 15:18:28 teknoritma.com apachectl[10716]: AH00526: Syntax error on line 10 of /usr/local/apache/conf/extra/httpd-userdir.conf:
Feb 01 15:18:28 teknoritma.com apachectl[10716]: Invalid command 'UserDir', perhaps misspelled or defined by a module not included in the server configuration
Feb 01 15:18:28 teknoritma.com systemd[1]: httpd.service: control process exited, code=exited status=1
Feb 01 15:18:28 teknoritma.com systemd[1]: Failed to start Web server Apache.
Feb 01 15:18:28 teknoritma.com systemd[1]: Unit httpd.service entered failed state.
Feb 01 15:18:28 teknoritma.com systemd[1]: httpd.service failed.
6
Apache / Re: Apache error after rebuild.
« on: February 01, 2017, 11:53:56 AM »
# NameVirtualHost 35.157.20.119:80 # Deprecated
<VirtualHost 35.157.20.119:80>
ServerName 35.157.20.119
DocumentRoot /usr/local/apache/htdocs
ServerAdmin info@centos-webpanel.com
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
</VirtualHost>
<Directory "/">
AllowOverride All
Require all granted
</Directory>
and no I deleted Require all granted part but it gives different error then.
<VirtualHost 35.157.20.119:80>
ServerName 35.157.20.119
DocumentRoot /usr/local/apache/htdocs
ServerAdmin info@centos-webpanel.com
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
</VirtualHost>
<Directory "/">
AllowOverride All
Require all granted
</Directory>
and no I deleted Require all granted part but it gives different error then.
7
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]