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
apache
88
questions
0
votes
1
answer
82
views
ErrorDocument 403 request handling
Hello I've created an error.html file in /var/www/error_page/ to display this page in the case of a 403 error.
and my /var/www/html/wordpress/.htaccess file looks like this
order allow,deny
allow ...
0
votes
0
answers
18
views
ImportError error for a project running on apache: DLL load failed while importing cv2
Importing opencv before deployment worked fine for my django project, but deploying to apache was an error. Later I wrote a project that only used opencv to read images, but still deployed to apache ...
0
votes
1
answer
21
views
Problem with apache passthrough (trying to "redirect" without redirecting)
I'm using an Apache server.
I want to show the content of site.com/site/{URI} when site.com/{URI} is accessed, but I don't want any redirects. also I don't have access to config files, only to ....
0
votes
1
answer
29
views
Configuring apache as reverse proxy for varnish server without using Hitch on ubuntu 22.04
I am trying to configure varnish cache 7 with apache2 on my server. Though setting up http request works just fine. but varnish can't handle https directly so i tried Apache and Hitch but didn't ...
0
votes
1
answer
11
views
init_fs_encoding during deploying django app to apache
i'm trying for hours to deploy a django app on an apache2 and still get following error:
PYTHONHOME = '/home/rickmanns/bar/bar/djenv'
PYTHONPATH = (not set)
program name = 'python3'
isolated = ...
0
votes
0
answers
24
views
How to create reverse proxy or forward request in Apache for soap service?
I've a soap service in address https://orash.ir/mis.asmx on windows server and also, I've https://wp.orash.ir on Ubuntu server.
I need to send request to https://wp.orash.ir/mis.asmx?..... and forward ...
0
votes
1
answer
18
views
What Apache setting or module is automatically "fixing" my html output, changing single to double quotes and http to https in links?
On a server with Apache 2.4 I have several virtual hosts for several domains.
On one of them, when serving static html files, links such as <a href='http://google.com'> get automatically "...
0
votes
0
answers
16
views
Openstreetmap tile server not working to due differing version of apache
I am trying to set up an OpenStreetMap tile server, but the server refuses to install apache2 due to an existing version within cpanel which prevents the renderer from working.
It looks like it also ...
0
votes
0
answers
7
views
Apache httpd Cache Response 'MISS from myexample.com' Issue
I'm experiencing issues configuring Apache httpd cache. Currently, files are being created in the CacheRoot directory, but I consistently see "MISS from myexample.com" in the response ...
0
votes
0
answers
22
views
Issue blacklisting folders in site's root directory using .htaccess
Context
I have several websites on my server, all of which are addon domains, and each website corresponds to an individual folder inside of the public_html folder. Let's say I have two websites:
...
-4
votes
2
answers
104
views
if "always headers response table" includes 2xx, how it can not be a super set of "onsuccess"?
apache official documentaion says that:
• "onsuccess (default)" responses headers table → just for 2xx responses • "always"
responses headers table → for all responses including ...
-1
votes
0
answers
24
views
Can't access folder from public, there're some problems with .htaccess
I am currently developing an API using PHP. I am unable to access images in the image folder. I have attempted to modify the .htaccess file to allow access to file extensions such as jpg and gif, but ...
0
votes
0
answers
14
views
Issue with Domain Configuration Script on Cloud Server
I'm running a PHP script on my cloud server to configure domains with Apache and SSL certificates. The script verifies the domain's A record, creates the necessary webroot directory, generates an ...
-2
votes
0
answers
33
views
Permission Denied: Apache+ActivePerl on MacOS
On previous versions of MacOS, I was able to run perl scripts from a local Apache server that called ActivePerl without problem. With MacOS Sonoma, the same script now generates an
Internal Server ...
0
votes
1
answer
26
views
Setting up a complex/custom .htaccess redirect rule
I am trying to set up a custom rule for redirecting all URLs within a folder to a different path on a different domain.
I want ALL files within this URL structure:
https://olddomain.com/folder/uploads
...