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 - ansyori28

Pages: [1]
1
CentOS 7 Problems / 404 Not Found User Login
« on: August 02, 2018, 07:26:00 AM »
Hello,

This is the second time I get stuck with the same error. I did a fresh installation on Centos 7 and then added new 3 users from the admin panel. These users are fine, they are able to login to the user panel. Today I'm trying to add a new user and the domain is connected to my server. However when this last user trying to login to this address https://mydomain.com:2083/ instead of getting logged in to user panel, this user get this error message on screen:

404 Not Found
cwpsrv

And this user browser redirect to:

https://mydomain.com:2083/login/%3Chtml%3E%3Chead%3E%3Ctitle%3E404%20Not%20Found%3C/title%3E%3C/head%3E%3Cbody%20bgcolor=%22white%22%3E%3Ccenter%3E%3Ch1%3E404%20Not%20Found%3C/h1%3E%3C/center%3E%3Chr%3E%3Ccenter%3Ecwpsrv%3C/center%3E%3C/body%3E%3C/html%3E

I have no idea what is going on. This user website VHost configuration in my vhosts.conf file is exactly the same, no different with my other users vhost configuration.

User 2 vhost:
Code: [Select]
# vhost_start userfinedomain.com
<VirtualHost mydomainipaddress:80>
ServerName userfinedomain.com
ServerAlias www.userfinedomain.com
ServerAdmin webmaster@userfinedomain.com
DocumentRoot /home/user2/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/user2/public_html/cgi-bin/

# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/user2/userfinedomain.com/*.conf

<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled user2
</IfModule>

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

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

<Directory "/home/user2/public_html">
AllowOverride All
</Directory>

</VirtualHost>
# vhost_end userfinedomain.com

User 4 vhost:
Code: [Select]
# vhost_start userunabetologin.com
<VirtualHost mydomainipaddress:80>
ServerName userunabetologin.com
ServerAlias www.userunabetologin.com
ServerAdmin webmaster@userunabetologin.com
DocumentRoot /home/userunabletologin/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/userunabletologin/public_html/cgi-bin/

# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/userunabletologin/userunabetologin.com/*.conf

<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled userunabletologin
</IfModule>

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

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

<Directory "/home/userunabletologin/public_html">
AllowOverride All
</Directory>

</VirtualHost>
# vhost_end userunabetologin.com

I replaced real domain name and username with ctrl + shift + f in sublime text, so I believe there will be no mistakes in changing those names for the security reason.

Any help will be much appreciated.
Thank you.

Pages: [1]