Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

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

0
votes
1answer
53 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
0answers
30 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 ...
1
vote
1answer
32 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 ...
3
votes
1answer
35 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 ...
1
vote
1answer
246 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
0answers
57 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 ...
0
votes
0answers
11 views

Is there any Web Hosting Company that hosts Dot Net core websites on Linux? [duplicate]

I was searching for some cheap web hosting companies/providers but after reading their features they provide I move back and continue my search. Basically, I am good at DotNet and I think windows ...
1
vote
0answers
37 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
0answers
194 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
2answers
1k 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 ...
0
votes
0answers
1k views

No matching DirectoryIndex error with wordpress

I have a basic wordpress installation running on a localhost apache server. When I try to fetch the root page, apache gives a 403 error. The log says: [Wed Feb 07 13:05:54.519901 2018] [autoindex:...
4
votes
1answer
208 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 ...
1
vote
1answer
1k 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 : ...
3
votes
1answer
146 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: <...
1
vote
0answers
16 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
233 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 ...
3
votes
1answer
571 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
0answers
2k 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 ...
4
votes
0answers
52 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 ...
4
votes
4answers
3k 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 ...
2
votes
1answer
27 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
1answer
287 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 ...
3
votes
1answer
1k views

Enable remote access to MySQL server (Linux)

How can I enable remote access to my MySQL Debian server?
4
votes
1answer
212 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 ...
0
votes
1answer
39 views

File priority in Joomla website

I have a Joomla site which is hosted on a Linux server which has 2 files, sitemap.xml and sitemap.html. When I try to access example.com/sitemap, sitemap.xml shows up instead of sitemap.html. Can ...
0
votes
0answers
473 views

How to stop growing files in /var/spool/exim/input?

The number of files in /var/spool/exim/input keeps growing, below is one of the file contents: This message was created automatically by mail delivery software. A message that you sent could not be ...
0
votes
0answers
433 views

virtualmin: how to set ftp user's root directory?

Under virtualmin's "edit users" panel, I set a new FTP user with the home directory being website subdirectory: medias\. When I login to this user, the landing directory is medias\, however this user ...
0
votes
1answer
785 views

Multiple Web servers on a single IP [closed]

A few other questions on here cover how to do this on a single server but I'm having trouble figuring out how to build this with multiple Web servers behind a single external IP. I have a simple ...
1
vote
0answers
520 views

Cannot access WHM and SSH/root after a configuration in Host Access Control

I added my IP (like 172.32.1.0/255.255.255.0) to allow access for ssh, whm and cpanel in WHM -> Host Access Control. Then, I added all IP to deny access for them. However, after saved changes, I lost ...
3
votes
3answers
83 views

If i use 301 redirects (to bounce the requests), will the other destination be aware of my Server IP?

(Just for the knowledge) I wonder, let's say one day, when my Site is suddenly having some attacks at the login page (e.g: /login.php). If i don't bother about my Login page anymore, and i want to ...
1
vote
1answer
64 views

Sandbox a folder in linux / CPanel

Is it possible to entirely sandbox a folder on linux? This is because certain users will be able to upload any files they want to this folder and execute PHP scripts (which in turn can execute more ...
2
votes
1answer
859 views

any way I can fix this cphulk situation?

I should probably sue the cpanel guys right about now. The point is, I'm receiving all these strange messages in my logs about cphulk (brute force detection system) not being able to do its job of ...
0
votes
1answer
14 views

installing npm issue

I was trying to install this : Click here but this error shows up consistently .No matter what i try. I have tried other version of npm they are installed but the npm test error shows up . npm ...
1
vote
1answer
34 views

Possibility of creating an Amazon AWS EC2 instance from the Linux command line?

I'm trying to figure out if it is possible to create an EC2 instance (say of OmniOS) from CLI in my Linux. As per my understanding, it is seeming pretty much straight forward to launch an instance but ...
4
votes
1answer
848 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 ...
2
votes
1answer
76 views

On my shared Linux webserver apache user is same as my user, is that standard?

I ran the following command, when logged into my shared Linux host to see what user Apache was running as: ps aux | egrep '(apache|httpd)' And it was the same user that I use on the server. ie. ...
1
vote
2answers
337 views

best apache log file permissions on cpanel server

In an effort to protect my site from bad bots including ridiculous hackers that can login to the server, I want to secure access_log and error_log as much as possible without breaking apache or cpanel....
0
votes
2answers
63 views

Redirect at exact moment in time

My company is going to do a press release next month. At that exact moment in time, we need a new domain to go to this site at the time of the press release at 3 PM. Since the domain name already ...
3
votes
3answers
3k 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 ...
0
votes
1answer
239 views

Preventing phpMyAdmin hacks

I recently saw an unexpected error in my error log, and upon investigating, found it repeated many times. What are the deviants trying to accomplish, and is there any risk of them accomplishing it. [...
0
votes
0answers
394 views

Godaddy linux hosting The PDO extension is required for this adapter but the extension is not loaded

I'm getting following error on GoDaddy economy linux hosting. How to fix that. The PDO extension is required for this adapter but the extension is not loaded Error can be found at following url: ...
1
vote
1answer
133 views

Webmin - View log of visitors to a particular webpage

Is there a way with Webmin to see a log of all IPs who have tried to access a particular webpage on the server?
6
votes
2answers
23k 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
1answer
52 views

Default Apache webroot different to what I expect; seems to be /var/www/html rather than /var/www

I have a new installation of Apache in Ubuntu 14.04.2 The /etc/apache2/apache2.conf file contains: <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None ...
0
votes
1answer
543 views

Setting up GetSimple CMS with Nginx

I'm quite a noob in web, I'd like to setup a Linux(Debian) web server and decided to use GetSimple CMS and Nginx since I've found out that they'd give the best performance by using smallest resources. ...
1
vote
1answer
39 views

Consider acceptable to use php from a linux webserver to request sql from a Microsoft SQL server?

I have a linux webserver that requires grabbing data from a windows sql server. Now I read that before the linux server connects to the sql server it must have microsofts OCDB sql driver installed. ...
0
votes
2answers
5k 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 ...
0
votes
1answer
267 views

Nginx Php-Fpm Global Configuration

So, ive got everything set with 6 wp websites sitting on my lemp stack. I have noticed that every single one of their nginx configurations are the same. Is there a way I can globalize said ...
2
votes
2answers
2k views

WHM Root Password Stops Working

I have WHM hosted on a virtual-dedicated Linux Enterprise Centos 5 server hosted at iWeb. Now and then my root password will stop working. I will get a red message saying: "The login is invalid." ...