Questions tagged [apache]

Use this tag (along with an appropriate programming-language tag) for programming questions relating to the Apache HTTP Server. Do not use this tag for questions about other Apache Foundation products. Note that server configuration questions are usually a better fit on https://serverfault.com

0
votes
0answers
3 views

Do-it-Yourself hosting with win10, WAMP and wordpress

I made a wordpress website on my WAMP localhost server. How can I put it online for being publicly accessible? I don't care about 100% uptime, but I want to know what are the risk associated with ...
0
votes
0answers
6 views

loosing solr data on solr server restart

I am newbie to Apache Manifold (ver – 2.12) and Solr(ver – 7.6) with Zookeeper (ver 3.14). I have created three collections in Solr out of which data for two comes from Manifold while one has from ...
0
votes
0answers
9 views

Server timed out for a heavy mpdf transaction in Codeigniter Application

I have a code that needs to process heavy dataset and print its pdf using mpdf library. Server terminates the process after few seconds due to which transaction never completes. If I fetch 120 records ...
0
votes
0answers
14 views

Apache Virtual Hosts without changing urls

I am using apache httpd server on windows. I am using this to run 2 flask applications in different ports using virtual hosts in httpd-vhosts.conf. <VirtualHost *:80> ServerName ncapp01 ...
0
votes
0answers
10 views

pam_succeed_if(crond:account): requirement “uid = 0” not met by user “apache”

I am using KVM and there is a guest VM . I modified xml file to add a serial port ttyS0 as I was facing an error like: " init: serial (ttyS0) main process (43369) terminated with status 1" and "init: ...
0
votes
1answer
13 views

Apache upgrade in CentOS 7

This is my current version of Apache: httpd -V Server version: Apache/2.4.6 (CentOS) Server built: Apr 24 2019 13:45:48 Server's Module Magic Number: 20120211:24 Server loaded: APR 1.4.8, APR-...
-1
votes
0answers
17 views

Log in flask application packaged via Docker and running on Apache

I am trying to dockerize my flask application deployed via Apache using mod-wsgi to be executed inside a container. I can't see my application logs when I execute docker logs. I have seen that I ...
0
votes
0answers
8 views

Permission denied error when creating cache folder - Apache httpd

I am using Apache HTTPD with the Dispatcher module running on RHEL. The dispatcher works fine but it's unable to cache the file. On inspecting the logs I see the following error - Unable to create ...
0
votes
1answer
30 views

Laravel API routes 404 error using Heroku Apache

I am setting up my Laravel API on Heroku. Everything seems to be working fine, I am able to go to the site and see the Laravel public page. But when I try to access my API routes (signup, login, etc.),...
0
votes
0answers
8 views

How to enable Virtual Host on Xampp for Laravel 5.8

I have problem with creating virtual host. I am using Windows 7 x64 Professional. When i try click on any admin menu dashboard got this error: Object not found! The requested URL was not found on this ...
-1
votes
0answers
16 views

How to serve dynamically pointed domains over SSL?

I am building a SaaS "website builder". Essentially, customers register and are given a sub domain (e.g mysite.example.com) which is served over SSL with a wildcard certificate via Let's Encrypt. The ...
1
vote
1answer
33 views

My jQuery variable to PHP is empty when read

I have an HTML slider called myRange that represents years. I want to get the value and print it in this field when I click a button: <div id="test">HELLO</div> I read the value in the ...
0
votes
0answers
11 views

Apache manipulate request URI for static RESTful API (development)

I'm developing a frontend application for a RESTful API. At the moment I always have to wait approximatly 2.5 seconds for my local backend server to calculate the API response. This is way too long, ...
0
votes
0answers
14 views

How to redirect URLs with username and password based on query string

We have a third party URL which needs to be connected from our application. Currently when we click the link in our web application temporary URL will be redirected to Apache server which is listening ...
0
votes
0answers
13 views

Unable to resolve class ShiroRole- Shiro Security of Grails

I am using grails and want to implement shiroRole in it. Shiro plugin added in BuildConfig.groovy as compile "org.grails.plugins:shiro:1.2.1" . In bootstrap.groovy when i write these def ...
0
votes
1answer
20 views

Problem with mod_deflate - compressing executable file

When trying to download file with.EXE extension in the site, the files are coming as .GZ Environment Centos 7 64 Apache 2.4.6 Changing the file in /etc/httpd/conf/httpd.conf I have already tried ...
0
votes
0answers
33 views

Redirect Loop, Faraway so Close

Basically I need to let through requests to a specific path: https://domainfoo.com/my-app?param1=ABC&paramY=123 Anything else, let's say, https://domainfoo.com/aboutus I need it redirected to ...
1
vote
1answer
35 views

How to activate the history mode of the vue-router on a subrout of a website written in php, apache server?

I am including a SPA on my website in apache server, but when accessing the route of this, I load the views but the route returns to the main domain. How should I configure the router or .htaccess to ...
-1
votes
0answers
13 views

Rewrite everything after path, but stay in directory

What I have: feed/repo/*site files* I want to stay in feed/repo/ and only let the application in feed/repo/ get the url after this path. Example: http://localhost/feed/repo/param1/param2/param3?...
0
votes
0answers
9 views

Internal Server Error Occurs When Redirecting to Https Website With Apache Mod Rewrite

I'm trying to redirect users to different addresses according to request URI's My /var/www/html/.htaccess file contains: RewriteEngine On RewriteCond %{REQUEST_URI} ^/(user|admin)/?$ [NC] ...
0
votes
0answers
11 views

.htaccess 500, nodejs, cpanel

So I am getting the following error when I try and run passenger + cpanel with the new apache 4. basically I need to run a nodejs app on cpanel subdomain. Internal Server Error The server ...
-1
votes
0answers
13 views

Can I get a sample code for taking data from csv file and putting it in oracle database using apache Gobblin? [on hold]

Apache Gobblin's documentation [ https://gobblin.readthedocs.io/en/latest/ ] is little difficult to understand for a newbie like me. Even though Hadoop seems like a targeted sink for apache gobblin ...
0
votes
0answers
18 views

Django site is too slow with local DNS

I have a Django site hosted within the company at 192.168.1.20:80 using apache and mod_wsgi The site is very slow when I access it with a DNS given(192.168.1.5), else the site is pretty fast Tried a ...
0
votes
1answer
28 views

.htaccess but still accessible?

I installed Wordpress on my Apache webserver and putted the htaccess file (below) in the admin folder. It look likes this works when i test trying to access the admin pages with a 'strange' ip -> i'm ...
-1
votes
0answers
8 views

How to amend cache-control settings for Hostgator server

I want to amend the cache-control settings in my response header but I am unable to do so. I am under a Hostgator shared hosting plan. I tried amending the .htaccess file but it does not override ...
0
votes
0answers
24 views

Why/how can i use bash commands such as 'apt-get' and 'sudo' (Nearly Free Speech)?

I am using NearlyFreeSpeech Server Type Apache 2.4 Generic, logged in via ssh and wondering why I'm getting this message:
0
votes
0answers
12 views

httpd reverse proxy redirect with extra root directory name

I deploy a website war in wildfly named testDom-0.1 with apache httpd reverse proxy on. After logging in successfully, the default successful URL in spring security is "/booking", but the browser ...
0
votes
0answers
9 views

Apache2.conf and Pagespeed module are duplicating Header set X-Content-Type-Options “nosniff”

For this problem I'm running an Ubuntu 18.04 apache2 server with mod pagespeed. When Mod_pagespeed is enabled it automatically adds header X-Content-Type_options: nosniff to some images, js, and css....
-2
votes
0answers
34 views

Website looks perfect on LocalHost Apache2 Server and different on Raspberry Apache2 server [on hold]

I've just finished making a website that has all of its php and css in one directory so that I won't make mistakes when path-ing. I am using Apache2 Server and PHP 7.2.19 on my Linux Mint 19.1 and ...
2
votes
4answers
62 views

Get the second string of the URI with Perl regex

I need to get the second part of the URI, the possible URI are: /api/application/v1/method /web/application/v1/method I can get "application" using: ([^\/api]\w*) and ([^\/web]\w*) But I know is ...
0
votes
3answers
20 views

phpmyadmin as default site on dedicated server

We build a Ubuntu 18.04 server dedicated for running phpMyAdmin. Databases are on several different servers and are accessed remotely. No other services or sites are running on this server. We want ...
-1
votes
0answers
34 views

I'm unable to redirect this link https://somedomain.com/rw1/newsF/page?page=1

I want to open my given link user friendly. domain.com/product/page-for/page?page=1 into domain.com/product/page-for/page/1 or domain.com/product/page-for/page1
0
votes
0answers
11 views

.htaccess - How to modify so it redirects to directory url (without trailing slash) but still loads index.php from the specified directory

I have the following code in my .htaccess file. It redirects non-www to www, removes trailing slash from urls, removes .php from urls, and loads index.php from directory urls without the trailing ...
0
votes
0answers
23 views

How to point my subdomain in the htaccess file to the directory where the WordPress index.php is present?

I'm trying to set up multilingual WordPress site using the PolyLang plugin. My website will have 3 languages - Ukrainian, Russian and English. Ukrainian default. In the URL settings of polylang, ...
0
votes
1answer
14 views

How to show content of all sub-directory in sub-domain for all my user on the site [htaccess]?

I would show the content of sub-directory in a sub-domain generate with htaccess. Practically I must create a sub-domain for all user that register on my website Example of my site web example.com: /...
0
votes
1answer
18 views

Jmeter - Cookies not in the Headers as They are in Browser

I am new to Jmeter and load testing overall but I have read about the Cookie Manager over and over and still can't find the answer to my problem. The site I am trying to test uses several cookies to ...
0
votes
0answers
15 views

How to deploy and host react app on Apache server

I have created a dashboard by using "React js" for Frontend and "Node js" for Backend. Now the project is completed, I need to deploy and host this project on Apache server. I have tried by running ...
0
votes
1answer
42 views

Mixed Content Problem with TYPO3, Kubernetes and a docker apache image

We have a running TYPO3 9.5.7 System on a kubernetes Cluster. TYPO3 runs on a docker container with PHP7.3-apache. The complete site has an SSL (Let's Encrypt) certificate. I can load the TYPO3 ...
0
votes
2answers
24 views

how to use mod_wsgi for hosting multiple django projects under single domain?

I have multiple django projects and i want to host them under same domain eg: example.com/one<br> example.com/two I have searched for various solutions and found the below given link which ...
-2
votes
0answers
36 views

Connection problem in multi database single api connection [on hold]

I have multiple database which have same structure and a single api which calls all the database . my problem is this I can not create single db . Is it right to call all db in single api or different ...
0
votes
1answer
17 views

Airflow's DAG runs multiple times in one minute, although it was scheduled to run every 5 minutes

I've created a DAG which was scheduled for execution in each 5 minutes using cron syntax. Also, the pool was created for this dag, with single slot only. I've tried to restart server/scheduler and ...
0
votes
1answer
14 views

How to redirect everything but an specific path on a htaccess file?

I'm trying to create an htaccess file so that everything gets redirected to the root of the site except for an specific path /api/date. I have this: <IfModule mod_rewrite.c> RewriteEngine On ...
0
votes
1answer
48 views

Nodejs endpoint connection timeout

I have created an endpoint in node that when called from a simple html page, it sends an email. Everything works as expected, I am able to click the button and send an email, however when I go outside ...
1
vote
1answer
29 views

htaccess 301 redirects for some URLs of acquired company site

I want to move some content from a website of a company we just acquired (company b) to my company's website (company a) and redirect those links from b to a. Easy enough, but I want to get rid of ...
0
votes
0answers
24 views

Apache serving wrong Django project

I have created two Django projects,using virtualenv, and serving these two projects with Apache2 using wsgi and two virtual hosts on Ubuntu 18.04. If I configure both virtual hosts in one .conf file, ...
0
votes
3answers
18 views

problem when restarting apache by updating php code

Good evening friends, I need your help since I have a problem with a webservice mounted in centos 6.9 with the version of apache 2.2.15 and php 5.5.38. Before when doing any code I only loaded it and ...
1
vote
1answer
30 views

Internal Server Error 500 on Code Igniter running on centos in Google Cloud

I'm running a CI based web application that runs fine on its old server but I'm migrating it to a centos 7/cwp instance on google cloud. After i set it up how i normally setup CI, im getting HTTP ...
-1
votes
0answers
11 views

Need I route DNS subdomains to use them?

I had dedicated server on 1and1, when I wanted create subdomain I gone to plesk and created it. I didn't need create on panel of my domain provider, just redirect root domain. Now I am trying to ...
1
vote
1answer
29 views

How to forward user back in case not pass the auth

I need to set auth on few pages and forward user back in case not authorized. For now, it display destination page with error. Unauthorized This server could not verify that you are authorized to ...
0
votes
1answer
9 views

Apache site loads in Safari but not Chrome or Firefox

I've got a local Apache server running for web development on my Mac running 10.14 Mojave. I've followed this rather excellent guide to set up a local vhost setup aliasing all .dev sites to my local ...