Questions tagged [linux]

Linux is a Free (libre), Open Source, Unix-like operating system.

Filter by
Sorted by
Tagged with
2 votes
1 answer
263 views

Can't access API that's on a local linux server externally

I've come here as a last resort, I have a Windows machine installed on it is Oracle VB with Debian 12 VM on it that I use to run an API on. When I try to access the API on the Linux server using 10.0....
5 votes
1 answer
285 views

Need to set up cgi on VPS to execute Perl (.pl) files

The server is a VPS running CentOS 7 64bit with CyberPanel. Perl is already present (ver 5.16.3) and will run scripts from the command line. However, clicking a link to a Perl script just results in ...
2 votes
1 answer
94 views

I got a Google indexing warning because I am using HTTP forwarding

Today I received a mail from Google. There is a problem with indexing my website because I am using HTTP forwarding. I disabled HTTP a week ago now only allowing HTTPS. I am using this code in my ...
2 votes
1 answer
55 views

Change server structure to be able to view files/folders in browser (Dedictaed server)

I'm trying to deploy Wordpress on a red hat Linux server (dedicated server). I'm trying to access it using the normal URL structure [IP]/[rootfoldername]/[nameofthefile] but it's not working. Note ...
1 vote
0 answers
46 views

How to setup cPanels Global Email Filters to filter multiple rules for one e-mail address?

I'm using cPanel 106.0 (build 11) on a Linux server with x86_64 architecture, Apache 2.4.54 and PHP 8.1.13. I'm using the Global Email Filters feature to filter e-mails. I want to create a filter that ...
1 vote
0 answers
44 views

Contact Form Emails not displaying on IOS devices [closed]

I'm having an issue that appears to be localized to IOS devices, those, particularly that use the default mail client. Emails are sent to these clients automatically through their website contact ...
4 votes
1 answer
275 views

Multiple Websites - PHP Session Isolation

I have a LAMP stack on a VPS where I set up multiple virtual hosts for different (sub)domains: example.com www.example.com dev.example.com Now, I would like to make sure that PHP session data is ...
1 vote
0 answers
62 views

How to disable direct media file access in Nginx or Ubuntu for non-logged-in users?

I am trying to disable direct URL access (for images, PDF) to my WordPress websites for non-logged-in users, I have created one '.htaccess file' under - wp-content/uploads/.htaccess RewriteCond %{...
2 votes
2 answers
1k views

How can I make a webmail URL available from any hosted domain?

I run Roundcube webmail on my VPS. At the moment, it is only accessible from one virtual server hosted on the server, unless a separate Roundcube installation is created for other virtual servers. I ...
0 votes
2 answers
125 views

Which user should serve web pages

I am using Crazy Domains to host my website. It is controlled by cpanel. It is a shared server (for now). I just realized that my login user (effectively root for my part of the server) is also the ...
13 votes
1 answer
24k views

Vulnerability in /boaform/admin/formLogin?

I am getting this HTTP request line on my server (simple http server). The normal action for this request on my server is to simply close the socket connection. I am asking this question because when ...
1 vote
0 answers
130 views

SSL certificate installation with p7b and cer file in redhat server

I have issue with applying SSL certificate, I already transfer my csr and key on /etc/pki/tls/private and I have .p7b and cer file may I know what I need to do with these files to apply the SSL ...
2 votes
1 answer
535 views

How to stop backslash working on XAMPP

I have XAMPP installed on my Windows development machine and I always use Linux production machines. The most common mistake I make is to use a backslash for filespec. Either slash works on Windows,...
9 votes
3 answers
55k views

Have disabled apache site config file 000-default.conf, but it still seems active. Why?

I added a file mysite.conf to my apache sites-available folder with the correct settings, then enabled it and reloaded apache, and it isn't working. I want to disable the default site config as ...
1 vote
0 answers
189 views

Why do i get a forbidden error when i change the symbolic-link for typo3? [closed]

I am currently using Typo3 8.7.32 and would like to update to the ELTS version 8.7.45. I have tried to install the new version manually via the Plesk web interface. When I change the sym-link in the ...
1 vote
2 answers
1k views

Can I use ClamAV on GoDaddy shared hosting?

My Linux shared hosting (GoDaddy) doesn't have ClamAV installed. Unfortunately, I'm not a Linux expert; so I don't know exactly what is involved in installing an application on a Linux. So, my ...
5 votes
1 answer
324 views

Every hour reach entry processes limit on shared hosting

We are on a shared hosting and from today (we didn't change anything), every beginning hour the website just go away and it's unreachable for 4-5 min. The cPanel says we have reached the Entry ...
5 votes
1 answer
368 views

Trying to install web2py on a shared server (Dreamhost)

I've been trying to install web2py on a subdomain on my shared account at Dreamhost. There used to be some info in their knowledge base, but it has been removed for outdated. I've found lots of ...
1 vote
0 answers
643 views

How to install/update/upgrade SSL certificate in Tomcat?

I am about to install/update/upgrade a SSL certificate in one of the servers which has the following configuration Sever information: Sever version: Apache Tomcat/6.0.35 OS version: Linux 2.6.18-371....
2 votes
1 answer
2k views

Google Analytics showing a big spike of Linux Chrome users

So I've noticed in my August Google Analytics for our Canadian municipal website, Linux Chrome users have gone from 0.25% of our users in June to 10.58% in July and now 26.75% in August. Any idea what ...
1 vote
1 answer
613 views

How to set permission for a system user to particular website on plesk

I'm trying to setup continuous deployment pipeline to one of the websites hosted in a Linux machine which has Plesk. A service account(service_user) is already setup there in the server(not a Plesk ...
1 vote
1 answer
938 views

Run NodeJS server through SSH without hanging from disconnect

I have a NodeJS server on a virtual machine. I connect to the machine through SSH and leave the server running with: npm start & If I disconnect with Ctl-D, the server keeps running. If my ...
1 vote
1 answer
421 views

SSL certificate hostname does not match, but online validation says all is OK

I secured our server with Let's Enccrypt SSL certificate, which I installed with Certbot on Apache. It works great - I validated it with online SSL checkers. However, Filezilla FTP client always shows ...
0 votes
1 answer
113 views

Hosting SQL on localhost or remote server?

Years ago I was advised to use two servers for hosting a basic Linux webserver, that it's best to have SQL hosted separately from NGINX or Apache. Personally I prefer MariaDB over MySQL, but I don't ...
3 votes
3 answers
9k views

Using PHP inside .html files not working as expected

Apache2, Linux, php5 I have added this line to my .htaccess file AddType application/x-httpd-php5 .htm .html running apace2ctl -m, shows this module loaded A php5_module (shared) I have a ...
1 vote
2 answers
8k views

Getting root access in 1and1 hosting?

I need to install Java and ANT on my 1and1 hosted web server but can't get it to work. I'm very unfamiliar with Linux terminal commands. I've tried sudo and su commands but apparently they don't ...
5 votes
1 answer
10k views

Fail2Ban & Port-Scanning

Is there any filter built into Fail2Ban to temporarily ban any IP addresses which attempt port scanning activities (provided that iptables logs these activities)?
0 votes
0 answers
45 views

Set up SSL on NGINX

I'm having difficult setting up SSL on nginx running on Ubuntu. I have a .pfx, .crt, and .pem cert files to work with, but the documentation is for setting it up with .crt and .key files. The code ...
1 vote
0 answers
161 views

Apache2 virtual host website redirecting users to router configuration page [closed]

I am running apache2 on Linux Mint Debian Edition 4.0. I am an apache newbie. I have setup a virtual host to point to my url. I am using dynu.com for virtual DNS redirection using the ddclient ...
1 vote
1 answer
60 views

Can I legally publish screenshots from Linux apps on my website?

I am planning to open a blog webpage, publish technology-based content on it in Turkish language, maybe in English language later, and make money via blogger earning methods like Google AdSense. In ...
1 vote
1 answer
418 views

CPanel Rearrange account can't find home2

I want to move an account using WHM/CPanel from the /home folder to /home2 folder, but the tool does not find the /home2, it says: "The user is already installed on the only usable partition on ...
2 votes
1 answer
2k views

403 Forbidden error was encountered while trying to use an ErrorDocument

I am trying to configure Apache HTTP Server by running a web application using Apache's mod_fgcid, a module for FastCGI. I have put a configuration file which allows the interface of my app to be ...
0 votes
2 answers
3k views

HTTPS + IP not redirecting to configured Domain Name and gives "Your connection is not private" [Nginx/Ubuntu]

I am using NGINX for 301 redirects on Ubuntu and reverse proxy for my Web Application and aim is to redirect traffic to non-www url such as https://mywebapplication.example. So with my current ...
1 vote
0 answers
26 views

Hostname of server for bulk-e-mail

I am using a VPS that will be sending out e-mails to thousands of (legitimate) e-mail contacts. I have everything about ready, so mail passes various checks for SPF and DKIM. One thing left is the ...
0 votes
0 answers
10 views

Command line filtering log by date and legitimate requests in Analog

Is there any way to get Analog to report the number of hits per day and the number of different IP addresses that are from legitimate readers? I define "legitimate" readers as accesses that (1) not ...
1 vote
2 answers
207 views

Dealing with a massive images/assets directory in a staging environment

I have a client whose site has an absolutely massive directory of images; some dozens of gigabytes. (No, it's not that kind of site.) I'd like to come up with a good way for the staging copy of the ...
1 vote
1 answer
220 views

Separate web hosting and mail server (CPanel)

Currently I am having problems with Email service on the same host as my website, so I want to move whole email server to another linux DigitalOcean server but keep the domain name? My current ...
2 votes
0 answers
356 views

Generating the base64 of sha256 of a file for Content Security Policy of a web page

The issue I have a small private Apache2 web server running on Debian 10 Buster with security on my top list. Right now, I'm struggling with: How to generate in the Linux terminal the base64-encoded ...
0 votes
1 answer
80 views

Google Pagespeed test, image slowing speed

I have to test the speed from my Website with PageSpeed Insights, it found what slow my sites, I have to try how here to say, but nothing to change... My Website has with SSL, https://linuxusers....
4 votes
2 answers
2k views

Apache not working on AWS Linux after reboot - 301 Response code

I have setup an EC2 instance with the Amazon Linux image and installed LAMP and Wordpress as per the Amazon docs. It works fine, serves the default Wordpress page, but as soon as the instance is ...
1 vote
1 answer
1k views

Is CloudFlare full SSL less secure than Cloudflace full (strict) SSL?

I have a Linux shared hosting on Hostgator, and am using a Full SSL from Cloudflare which Encrypts end-to-end, using a self-signed certificate on the server. How secure is it? What are different ...
2 votes
0 answers
685 views

"mod_fcgid: process graceful kill" and 500 error each time a large SQL file is uploaded to phpMyAdmin [closed]

This is what I'm getting when I tried to upload 19MB SQL file to phpMyAdmin. This is part of my php.ini most important config: php_value session.gc_maxlifetime 10800 php_value max_input_time ...
4 votes
2 answers
2k views

X-Robot-tag noindex not appearing in header

I am trying to include the following in my response header to all resources in multiple directories (dirone/dirtwo/dirthree/direfour) from an Apache server. X-Robots-Tag: noindex, nofollow In my ...
1 vote
0 answers
76 views

Subdomain virtualmin is not working

Hello there and thank you for your time. I have a domain working very well on Linux Server with Virtualmin which is vuelosenglobos.mx. Within vuelosenglobos.mx domain i've created erp....
3 votes
0 answers
87 views

Server receiving hit from its own DigitalOcean public IP Address. Why is that and how to resolve this?

I have a MEAN Stack application deployed on a Digital Ocean Droplet and I am using Nginx as proxy server to handle the request and redirect to application's particular port. I wrote a short script in ...
1 vote
1 answer
1k views

Some users are redirected to cpanel cgi-sys/defaultwebpage.cgi while other don't

I have a website which used to be hosted on a managed Bluehost plan that includes a cPanel by default. for some non-technical reasons, I've decided to move the website from Bluehost to an unmanaged ...
4 votes
1 answer
12k views

What does "Require all granted" on Directory / (root) REALY means? (Apache 2.4 on CentOS7

im sure, this question looks really stupid first. but i need a "second opinion" on this, even i did some research on my own but i am still unsure about this. By default the Apache Configuration on ...
0 votes
1 answer
136 views

Log folder permissions in Linux servers: Is it a good idea to use 0666?

Its a well known problem: When migrating or deploying systems often log folders are not writable because of permission problems. But giving 0777 on them can be a security problem in a production ...
1 vote
1 answer
933 views

How can I prevent people from looking at a listing of files in parent directory if I haven't uploaded index.html? [duplicate]

Possible Duplicate: How to restrict the download of all files in a folder? I haven't uploaded index.html or index.php to my root directory. How can I prevent people from looking at a listing of ...
3 votes
1 answer
795 views

Different cPanel physical memory usage with free -m and top terminal command

So, I have a cPanel access. In the cPanel statistic, I see that my Physical Memory Usage is 2 GB and almost full. When I go to terminal and run free -m I got this: total used ...