Questions tagged [apache-config]

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

264 questions
3
votes
1 answer

Bugzilla Apache server config

I have installed Bugzilla on my dedicated server with Centos5.5. I have already a website running on this server with Apache config DocumentRoot /var/www/html/XXX .. and I have defined a new virtual host on Apache…
brsbilgic
  • 11,613
  • 16
  • 64
  • 94
3
votes
1 answer

How do you set the Access-Control-Allow-Origin header for the HTTP basic authentication response in Apache?

I want to use XHR to log in to a site that uses HTTP basic authentication. The following piece does this. http = new XMLHttpRequest(); http.open("get", "http://...", false, username, password); http.send(""); The problem is that this does not work…
hekevintran
  • 22,822
  • 32
  • 111
  • 180
3
votes
2 answers

sites-available (apache) and httpd.conf for WAMP - making XXXXX.domain.com automatically direct

I currently have this in my httpd.conf file in WAMP: NameVirtualHost 127.0.0.1 ServerAlias *.dev.co.uk UseCanonicalName Off VirtualDocumentRoot D:/wamp/www/%1/httpdocs I created a directory…
udjamaflip
  • 682
  • 1
  • 8
  • 24
3
votes
1 answer

client denied by server configuration: app/etc/local.xml

I have installed magento on one of my test server to study the features Here when i navigate thru the admin site or upload some pictures for any product, the apache server will stop . When i opened the apache error log it is written as [Wed May 18…
Fida
  • 71
  • 2
  • 2
  • 7
3
votes
2 answers

Apache + Perl + NTLM/LDAP == Single signon?

We have a Perl app which runs under Apache on Solaris using CGI::Application. That's all running fine. We'd like to get access to the USER_ID variable passed by the IE browser, and do some Database queries and LDAP queries. I've looked at the Apache…
Raoul
  • 3,849
  • 3
  • 24
  • 30
3
votes
0 answers

.htaccess block post requests from unknown origins

I'm setting up a server for a school project, and want to block POST requests from origins outside my domain and its subdomains. I tried to neglect the localhost IP, the page from which the POST comes and the subdomain, but none worked (a 403 access…
3
votes
1 answer

Allow anonymous access to parts of a secured Subversion repository

We face currently the problem to allow people access to parts of a subversion repository (1.5.x, soon 1.6.x), that is secure in other parts. Let me give you some details: We have a production server where a lot of projects have their own subversion…
mliebelt
  • 15,345
  • 7
  • 55
  • 92
3
votes
3 answers

Django with mod_wsgi returns 403 error

I am trying to use Django with Apache (and mod_wsgi). With the default Django webserver everything was going well, but now I get 403 (access forbidden) error when trying to load the page. I searched previous posts here and read official docs but the…
skazhy
  • 4,421
  • 7
  • 30
  • 32
3
votes
2 answers

Django (wsgi) and Wordpress coexisting in Apache virtualhost

I have a Django project that I need mounted at two different subdirectories of my url, and I need Wordpress running at /. So: *.example.com - WordPress *.example.com/studio - django *.example.com/accounts - django Here's the httpd.conf that I have…
UrLicht
  • 939
  • 1
  • 14
  • 25
3
votes
3 answers

apache mod_rewrite rule in httpd.conf for modifying some paths, but not others

I'm having quite a challenge creating an appropriate rewrite rule for Apache/2.2.14 on Fedora 10. I'm working through the CodeIgniter-Doctrine tutorial which uses an .htaccess file. (Search for Removing “index.php” from CodeIgniter urls about 10%…
wallyk
  • 56,922
  • 16
  • 83
  • 148
3
votes
1 answer

mod_rewrite with subdomain and url pattern

I want to use the subdomain as a get variable with mod_rewrite AND use some parameter : eg /page/language/site/counter -> index.php?o=operator&lg=language&s=arg1&c=arg2 How to do that with mod_rewrite? RewriteEngine On RewriteCond %{HTTP_HOST}…
pvthesis
  • 31
  • 2
3
votes
3 answers

Is it possible to have a php file in apache operate without an extension?

I have a file http://www.www.com/somefile.php I would like to be able to get to the same file by going to http://www.www.com/somefile But I still need http://www.www.com/directory to open the file http://www.www.com/directory/index.php if, in…
Jason
  • 15,017
  • 23
  • 85
  • 116
3
votes
1 answer

trailing slash "/" not added to root url

I recently came across a very strange problem I could not resolve. I am running django with mod_wsgi and apache, and the problem is that www.example.com/subdir is not being directed to www.example.com/subdir/ urls.py looks like this: import…
Harsh Agrawal
  • 172
  • 2
  • 13
3
votes
1 answer

Can't get Apache directory indexing to stop

I am trying to get my OSX MacPorts install of Apache to NOT show directory listings. I have tried various configurations of the "options" directive in the httpd.conf file with no luck. When I go to the site, it still lists the root directory…
3
votes
3 answers

Configure Apache to use different Unix User Accounts (www-data) per Site

An Apache 2.x Webserver with default configurations from the ubuntu/debian repositories will use the www-data unix account for apache2 processes handling web requests. Assuming that apache is serving two different sites (domain1.com and…
BrainCore
  • 5,214
  • 4
  • 33
  • 38