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.

Messages - lupus

Pages: [1]
MySQL / Can't connect to database
« on: February 04, 2019, 12:16:56 PM »
When I try to install script on my site I'm getting this error:
Database_Exception [ 2 ]: mysqli::__construct(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO)

I have a database, user and password.
But when I tried to change the mysql password for root, I received the message:
Username root with host localhost not found in mysql.user table!

CentOS 7 Problems / Wildcard and automatic subdomains
« on: May 21, 2018, 04:19:39 PM »
I was browsing the internet and I do not know what's going on anymore.

I have a vps with Centos webpanel, on vps is a script that is supposed to automatically create subdomains for users who want to add their business card.

Domain in OVH, I added in the dns zone entry: * A IP vps.

File /usr/local/apache/conf.d/vhosts.conf

<VirtualHost My IP:80>
ServerName myserver
ServerAlias *
DocumentRoot /home/lupus/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/lupus/public_html/cgi-bin/

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

<IfModule mod_userdir.c>
    UserDir disabled
    UserDir enabled lupus

<IfModule mod_suexec.c>
    SuexecUserGroup lupus lupus

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

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

When trying to create a business card, the address is: https: // (after these strange characters, I can enter the name of the company)

And it should be: https: //company/

What is wrong?

Pages: [1]