Questions tagged [apache-config]

Apache configuration is text based configuration file (or set of files) which are used to configure apache httpd web server

apache-config
74 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
0 answers
2k views

What exactly does the AcceptPathInfo directive do?

The core documentation for v. 2.4 of Apache tells me that the AcceptPathInfo directive "controls whether requests that contain trailing pathname information that follows an actual filename (or non-...
user3311045's user avatar
0 votes
2 answers
839 views

Symfony2: Use different port for Rest API

I currently starting a (Symfony2) project where I have to use a different port for HTTP-Communication of the REST-API (JSON/XML) then the normal HTML-Content. Is this possible? And what is the best ...
Atreides78's user avatar
0 votes
1 answer
20 views

Different Apache Configurations based on Requestors IP

I'm wondering if there is a way to use some kind of if-else construct within an apache httpd 2.2 config. The idea behind this is this: I want to use www.domain.com for two different liferay ...
Sebastian Sommerfeld's user avatar
0 votes
1 answer
262 views

Same site, different django projects, served through different url

So I am on: Ubuntu 14.04.3 LTS Apache/2.4.7 Latest mod-wsgi-3.4 built from source Python 3.4 virtualenv Django 1.86 I have 2 django projects at different locations: /home/admin/myproject/ /home/...
safe_malloc's user avatar
0 votes
1 answer
596 views

<FilesMatch> directive ignored in Apache httpd.conf

So I tried using this in the httpd conf at the bottom of the config file. My goal is to have this rule whitelist the wordpress admin to certain ip addresses. We have a quite a few installs on the ...
Alex Bloom's user avatar
0 votes
1 answer
103 views

Running two django instances using WSGI/Apache on localhost

I have a web portal that fetches data from another data server(HTTP based) which I need to test on my local machine. In production, multiple versions of the web portal will exist, but fewer of the ...
rep_movsd's user avatar
  • 6,765
0 votes
0 answers
272 views

Configuring Apache with Django

I'm trying to configure Apache with Django. Everything is working except the admin panel. It's static files are not loading. The documentation talks about different ways of doing it but none are ...
maahd's user avatar
  • 692
0 votes
1 answer
45 views

Apache RewriteCond rule ... trying to understand previous person

I've gone through the questions and I couldn't find exactly what I was looking for. Logically what the request is to only allow certain IPs access to a certain page. All other IPs should be forwarded ...
TKL32's user avatar
  • 21
0 votes
0 answers
80 views

Apapche conf file deny access to a specific directory for external networks apache 2.2

I have a directory /data/generated/job/ inside of /jobs/ i can have sub directories etc. I also have a alias set up for /data/generated My conf files looks like this. <Directory /...
Yeak's user avatar
  • 2,488
0 votes
1 answer
2k views

Optimal apache configuration

I have the pre_virtualhost_global.conf with these settings (worker MPM): KeepAlive On KeepAliveTimeout 10 MaxKeepAliveRequests 500 ServerLimit 16 MaxClients 512 MinSpareThreads 96 MaxSpareThreads ...
zsola3075457's user avatar
0 votes
2 answers
245 views

redirect to subfolder and then hide subfolder from url

i have a url: www.example.co.za. when i go to that url i can see my directory structure. This is my document root and needs to remain my document root so that i can access all underlying folders. ...
Jack Kitley's user avatar
0 votes
1 answer
561 views

Apache vhosts config RewriteCond to ignore part of URL

I am attempting to control redirections on my site using the Apache vhosts config. I have two-letter regions setup, such as /fr, /de, /es, which I am currently ignoring as you will see from my vhosts ...
crmpicco's user avatar
  • 16.9k
0 votes
0 answers
269 views

Django Deployment on Apache's virtualhost

I have a wordpress (/var/www/cb), which I wish to run as root (www.cb.com) and one Django app (/vc/cb/cb) as a subdirectory (cb.com/launch). <IfModule mod_ssl.c> <VirtualHost _default_:443&...
Houman's user avatar
  • 65.2k
0 votes
3 answers
12k views

Access Koha Staff/OPAC client over LAN network

I've installed Koha 3.6 - as provided by Vimal Kumar on Ubuntu 10.04 LTS. This works excellently. However, I want to access the web Staff/OPAC client via LAN, so that I can open the clients on ...
user1577937's user avatar
0 votes
1 answer
990 views

How to configure Apache2.2 to set HttpOnly and Secure parameter?

Is there a way to directly configure apache (httpd.conf) to set HttpOnly and Secure parameter .. Or it has to be done progrmatically .. I am using Windows 7
JAB's user avatar
  • 3,576
0 votes
1 answer
508 views

imagettfbbox() in Apache PHP

I have a php Web-based app that uses the imagettfbbox() function. This app has been hosted on IIS but is getting moved to an Apache server. The imagettfbbox() function has a fontfile parameter. On IIS ...
user39653's user avatar
  • 1,305
0 votes
1 answer
1k views

Apache Virtual Host Redirect: *.example.com to www.example.com

I'm simply trying to redirect any example.com to www.example.com. The redirect currently sends example.com to www.example.com//. The following code is in my virtual host configuration file: ...
Joe's user avatar
  • 3
0 votes
1 answer
233 views

Apache CGI, catch all requests for directory

Is it possible to configure Apache CGI so that all requests in one directory end up going to one script? So let's say a browser requests mysite.com/cgi-bin/doesnt_exist it would end up going to ...
Mike's user avatar
  • 59.9k
0 votes
1 answer
2k views

Enabling XBitHack with Virtual Hosts in Apache 2.04

We're running Apache 2.04 as our webserver. New development with our sites is using SSI. I don't want to alter our url's, so I decided on using XBitHack. I've come across a few suggestions online: ...
dpfellner's user avatar
0 votes
1 answer
36 views

simple domain question

Hi everyone I'm a new apache tomcat user I have question regarding seting up a domain name I'm kinda confused about that and how do I know what is my current domain name? can I change the domain name ?...
Lava's user avatar
  • 11
0 votes
1 answer
606 views

How to edit httpd.conf for www aliasing?

How do I setup Apache, editing the httpd.conf file I think, to properly alias www so my server directs the right way?
thatryan's user avatar
  • 1,551
0 votes
1 answer
89 views

Apache2 : How to configure different/multiple websites in Dedicated IP

I have 5 websites which is to be hosted on a single dedicated server. ### Many documents(apache2) provide help to achieve this site1.com > should access /var/www/html/site1 site2.com > should ...
SuperNova's user avatar
  • 26.5k
-1 votes
1 answer
99 views

problem of the server

I would like to inform you about the another problem of the server. When we are updating the records, it updates the records in the database but when we want to access it on the browser through the ...
XMen's user avatar
  • 29.9k
-1 votes
1 answer
566 views

Multiple Zend applications on same host

I'm developing a Zend application that should be installed on a host that I don't access to it. I have two problems: On the server there is no zend-server-ce installation. Application should be ...
sorush-r's user avatar
  • 10.7k

1
2