Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
14 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 %{...
  • 11
0 votes
2 answers
89 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 ...
1 vote
0 answers
20 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
100 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,...
1 vote
0 answers
54 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 ...
  • 11
5 votes
1 answer
108 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 ...
8 votes
1 answer
9k 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 ...
  • 203
1 vote
1 answer
575 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
210 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 ...
  • 113
1 vote
1 answer
251 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
149 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
37 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 ...
  • 1
0 votes
0 answers
36 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 ...
  • 101
1 vote
0 answers
43 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
280 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 ...
1 vote
0 answers
24 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 ...
  • 111
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
110 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
62 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 ...
1 vote
0 answers
254 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 ...
1 vote
1 answer
783 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
529 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 ...
1 vote
0 answers
57 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....
0 votes
1 answer
76 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....
  • 151
3 votes
0 answers
60 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 ...
0 votes
1 answer
104 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 ...
  • 205
1 vote
1 answer
34 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 ...
  • 11
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 ...
2 votes
0 answers
44 views

Identify a user agent consuming massive bandwidth downloading and uploading specific files but never sending a referrer

Blank HTTP_REFERER user agents are downloading and uploading a couple specific files to and from our server! This is causing HUGE bandwidth and CPU usage. We blocked blank referers on our CDN and ...
  • 131
1 vote
1 answer
311 views

Server timeout from outside, network unreachable from inside

I have a Linode instance (Debian 7.4) running Apache server (2.2.22) that I mostly use for just storing files that I can then easily link to from elsewhere. I've additionally purchased a domain from ...
  • 121
3 votes
1 answer
745 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 ...
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 ...
1 vote
0 answers
160 views

which image of AWS to choose for PHP? [closed]

I want to set up a linux server that will run moodle (an application in PHP) on AWS. I think the best two images to choose from are: Amazon Linux 2 AMI (HVM) Amazon Linux 2 comes with five years ...
1 vote
0 answers
257 views

What command will restart Apache from a PuTTY terminal to manage a cPanel server?

Once when we logged on to the server via putty terminal with authorised SSH credentials What is the command given to the putty terminal for restarting the Apache server after loading some extensions? ...
2 votes
0 answers
540 views

503 service unavailable error for ALL files except PHP files when using Apache virtual hosts

Apache 2.4/ PHP 7.0 Virtual hosts setup working correctly. There are no issues loading JPG files when pointing directly to the server using IP address. <VirtualHost *:80> ServerName example....
0 votes
2 answers
5k views

Why doesn't Apache allow access to files outside the web root --from within index.html?

As the title states.. I have the following organization to my project but am unable to access the related CSS and JavaScript files from within my HTML code --unless I create symbolic links from the ...
4 votes
1 answer
468 views

addon domains keeps adding primary domain in URL

I took new vps plan from inmotionhosting.com and moved my host from previous hosting company. I have several cpanel accounts in the whm, imported them all using the migration tool from server to ...
's user avatar
1 vote
1 answer
9k views

How do I use URL redirection with reverse proxy?

My requirement is to redirect the URL, which is running on port 80 with reverse proxy. I guess I would have to use URL redirection, reverse proxy together. There is already a web-domain active like : ...
  • 11
3 votes
1 answer
540 views

Proper way of allowing Apache to serve from an encrypted folder (/home dir)

I have a folder in my home folder, /home/user/mywebsite. My home folder was encrypted when I installed Ubuntu. I have a symlink in /var/www/fleet -> /home/user/mywebsite. My configuration file: <...
  • 141
1 vote
0 answers
343 views

Can Linux run ASPX coded websites? [closed]

My website is a set of ASP.NET/ASPX files with C# code embedded in <script runat=server> blocks with some DLLs - all .NET managed code, nothing weird. I wrote it so I'm able to make small ...
  • 323
3 votes
1 answer
5k views

Logged Out Too Soon; PHP Sessions Expire Too Quickly. Is this a Linux, CentOS, Cookies, CPanel problem?

Recently, I've been getting logged out sooner than expected on several websites that I manage on Linux servers. The problem started spontaneously a few months ago. At the time, I had not made any ...
  • 51
0 votes
1 answer
574 views

.htaccess redirect based HTTP_REFERER [closed]

Our webpage was redesigned and moved to a web CMS platform. This means some of our blog posts shared via Twitter just link to a 404 page. I am wondering if it is possible using .htaccess or something ...
  • 1
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 ...
2 votes
1 answer
9k 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 ...
3 votes
0 answers
70 views

How I give Apache access to users vhosts and keep it secure?

I have 2 RHEL 7 servers running Apache 2.4 behind a load-balancer. Both connect to an NFS data store where web pages are held and both servers run ssh to allow users to put web data on them. The users ...
  • 31
5 votes
4 answers
12k views

Can file encoding change when FTP is used?

I'm developing a web application which downloads a number of web pages using PHP curl. It then uses diff to compare the files as they change each day. I reported a problem a few weeks back where ...
  • 247
2 votes
1 answer
33 views

Some domains defaulting to first hosting package on WHM

Ok so I have a linux hybrid server running WHM/cPanel. I have the slight problem that when someone points their domain at our server, if there is no hosting package set up yet it defaults to the first ...
2 votes
1 answer
578 views

Session cookie lifetime in PHP different on RHEL vs Mint?

Sorry if this is long-winded: I have the same site running on two servers (server_old & server_new). It's a hand-rolled PHP & Ajax thing I made for managing my inventory and loaning out ...