setting up multiple ip addresses on one apache server

I have a server setup running apache2. There are 2 public ip addresses pointing to the server each assigned a different domain name. I set up the virtual host to manage these domains. The first...

Correctly generating a sitemap XML with special characters

I've a program which generates XML sitemaps for Google Webmaster Tools (among other things). GWTs is giving me errors for some sitemaps because the URLs contain character sequences like ã¾,...

How to keep Google from indexing the Session ID in the URL?

One of my sites is for old mobile phones that don't accept cookies so it uses a URL-based Session ID. However, Google is indexing the Session ID, so when my site is searched on Google, all the...

Robots.txt - What is the proper format for a Crawl Delay for multiple user agents?

Below is a sample robots.txt file to Allow multiple user agents with multiple crawl delays for each user agent. The Crawl-delay values are for illustration purposes and will be different in a real...

How to transfer old configuration files from Apache 2.2.22 to Apache 2.4.6

I am new to Apache, and when i updated apache from 2.2.22 to 2.4.6 I found that the default virtual host location where I would put my mod_rewrite settings has changed. For apache2.2.22: It was in...

mod_rewrite wasn't working so while fixing it getting 403 forbidden

On ubuntu 13.10 I am using apache 2.4.x . I was having problem with mod_rewrite. I enabled that module and and restarted the server but .htaccess file wasn't still working so I after some search,...

Apache2 weird redirection. (Default site overriding others)

I have just moved from Amazon EC2 to another VPS, running Ubuntu 12.04 on both of them. But now I get some very strange redirections. No matter which domain name I access using http (port 80) I...

Redirect to previous page after login from AuthFormLoginLocation [Apache2 configuration]

As i writed in topic, Im looking for way to redirect user after login via AuthForm to proper destination. It should looks smth like that: User typing in address bar addres...

Setting up a Flask app in a Amazon EC2 instance, getting ImportError: No module named flask

I'm having issues trying to deploy my Flask app on an Amazon EC2 server. I followed a tutorial here and here as well. When I go to run my server, after doing sudo apachect1 restart I get a 500...

For XML Sitemaps, can a document contain multiple Protocol Extensions?

I did a lot of research before asking this question. I even went to Google and searched for "sitemap" filetype:xml -- to look at some big-league sitemap files to see if there was an answer...

Dockerize Django App and Apache2 with Docker

I'm trying to Dockerize my Django Web App with Docker in order to migrate it to my production server. This server is based to Linux Ubuntu 16.04 and I would like to install Apache2 into my...

How can I secure Jenkins port 8080 with SSL under apache2 in ubuntu 18.04 Server?

I have been able to successfully install and configure Apache2 server to served on HTTPS. I have been having issues getting Jenkins to use the same SSL certificates and run on Secured port 443....

Flask app on non-root url of website with Apache2

I have a Flask app that I would like to host on a subdomain / non-root url of our lab website. For example, I want mylab.com/portal to lead to the flask app. I followed numerous guides but I keep...

Admob disabled to my application for unknown reason

this is the second time admob disabled to my app with some unknown violation that i have no idea. i can't figure out the reason, mirroring and framing what?. can someone please guide me what the...

Apache with SSL configuration not working with WSGI configuration for Django app

This is a follow-up on the following issues on github : https://github.com/certbot/certbot/issues/1820 and https://github.com/certbot/certbot/issues/2546 Letsencrypt cannot deal with apache's WSGI...

laravel 5.6 and apache gives 404 for urls

I have apache2 server on Ubuntu 16.04LTS and I have Laravel 5.6 project called book_donation in /var/www/html now when I visit localhost the Laravel welcome screens appear no problem but whenever...

How can I get `cmake` work in JetBrains CLion to compile Emscripten/WebAssembly?

I am trying to properly setup JetBrains CLion 2019.1 to build WebAssembly from C source code. I've tried almost everything, however, nothing works. I do not get any WebAssembly build. All I get...

Apache reverse proxy not rendering angular builds's javascript to the client

I am Trying to implement reverse proxy for my 2 sites but from one of them is not rendering html . Below is my configuration file for apache ssl config <IfModule mod_ssl.c> <VirtualHost...

Apache + Django + wsgi.py. Site can't be reached

I am trying to setup Apache2 on EC2 machine with Django server. mainly for Daemon process. However i am unable to access my website through Apache. I tried listing to different ports like 80, 443,...

The requested URL / was not found on this server, MAMP MAC

I have a little problem, I just configured Mamp on Mac with virtual host, but every time I try to access to the project, I get the error "The requested URL / was not found on this server": I...

500 Internal Server Error - Django wsgi error showing on apache2 log

I am getting an Internal Server Error and not sure if i need to change something in wsgi. The app was working fine while tested on virtual environment on port 8000. I followed all the steps using...

I want to configure a Case InSenSitive web server

NOTE: A lot of the posts I read talk about httpd, and that mislead me, I was told, Modern Apache does not use the httpd.conf file, but instead uses its own apache2.conf I have installed apache on...

How to enable a web server and webdav server simultaneously on Raspberry Pi 3?

My Pi version is: [email protected]:~ $ uname -a Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux Apache version installed on Pi: [email protected]:~ $ apache2...

Python cannot load project module Django Mod_WSGI

I am trying to deploy a test Django project onto an Apache2 server running under Debian 10. Django is running in a virtual environment under Python 3.7. After about 3 days of going in circles, I...

Hexo cannot display "next" theme

Noob here. I want to build a personal blog using Hexo with theme next, but I met some problems (no problems with other themes, e.g. landscape). I typed hexo s -g Cmd line returns INFO Validating...

How to map domain in AWS Route53 with GCP Cloud Run app

Our domain is registered in Route 53. We have 1 hosted zone, and the domain is currently used for one of our EC2 instances (I think as an elastic IP address). Our hosted zone has all of the...

How can I remove a deleted custom domain from app engine?

I previously added and verified a custom domain "foo.club" and "www.foo.club" (fake examples) to my app engine project. I let foo.club lapse and so that domain no longer exists. However I cannot...

Google Webmaster Tools API - can't obtain permissions for a domain I own

I'm using this library: https://github.com/googleapis/google-api-php-client I created a simple PHP script that fetches some information from Google Search Console / Webmaster Tools about the...

Index PHP downloaded instead of executing it

I updated my server with php 7.4 however it created some issues my website couldn't be live again, the issue started after resinstalling httpd or installing httpd-devel not sure I have bitrix...

Failed to exec Python script file '/home/dev/project/project/wsgi.py'.Exception occurred processing WSGI script '/home/dev/project/project/wsgi.py'

I am trying to host my django website on a VPS provided by Hostinger. The server is running on Ubuntu 20.04 64bit. I got the website to run without apache2 by running the command python manage.py...