Skip to content

Apache unique Vhost user, PHP sessions not working

I am looking to run an number of Apache server which will host websites for multiple clients. I have installed the libapache2-mpm-itk module and have created unique users/groups for each clients set of files. And configured their corresponding vhost file to run the process with that user/group. This works fin…

How to make a auditing funntionality in a PHP site

I´d like to make an auditing functionality in a PHP site. Then, I think a good best way is to get the IP address from the source and insert each action from this IP in my database. I thought about the …

regex for changing array() to [] using atom

I am wanting to update my php script as a project (globally) and change array(elements); to [elements]; Using atom i have already ran the update for just the init of arrays and have already changed …

How to get next/previous double records in MySQL?

hello everyone I ask for help to understand how to proceed with the sql code I have a table set as in the photo enter image description here in the kiss_count cell do duplicates in the records, see …

Remove /public after https redirect laravel .htaccess

I have a Laravel Page Deployed in a Shared Hosting and when I force http request to redirect to https the url contains /public My root .htaccess is: And my /public .htaccess is: The only problem here is: when you type the url like example.com it will redirect to https://example.com/public and everything works…