Tagged Questions
Apache (HTTP Server) /əˈpætʃiː/ is a modular cross-platform web server software with a large variety of features(called modules) including SSL, compression, log, proxy and server-side programming language interfaces like Perl, Python, Tcl, and PHP.
0
votes
0answers
2 views
Is it possible cookie free directory in apache.conf?
I have a website, the cookie did sent with every request, including images, javascript, css, this is unecessary. I'd solved this issue creating a virtualhost for load the static resources, the cookie ...
-2
votes
0answers
12 views
Apache2 and PHP Accept Any URI (without redirect) [on hold]
I am looking for my domain to accept any URI and if it does not exist, have the main page display.
For example:
thisdomain.com/mittens does is not a actual page, but the server will accept the page ...
0
votes
0answers
2 views
Change default directory index apache2
I'd like to change the page that is shown when a directory doesn't have an index.php/html page.
I made a php page that I'd like to use, but I don't know how to set it as a default. I don't want to ...
0
votes
0answers
7 views
Where does apache2 password protection store the “access permissions”?
So I basically set up the apache2 Auth to password protect our site. Making the required password file and adding these lines to the VirtualHost's Directory section.
AllowOverride AuthConfig
AuthType ...
-1
votes
1answer
9 views
Change SSL cert
I updated the SSL cert on a customer server. The cert was about to expire.
The customer sent me the new cert in PEM format. I just replaced it on Apache and restarted it. The new expiration date is ...
1
vote
0answers
15 views
How to find directory being served by Apache
I'm trying to debug someone else's script. They've given me access to the server and a URL, what they didn't tell me is where their scripts are located.
How can I find the directory that serves the ...
0
votes
0answers
10 views
Localhost shows Index of / child directories are 404
I have a LAMP server on ubuntu 12.04. I haven't touched my own local server in forever but navigated to it recently in firefox and instead of getting the "It Works..." message it says "Index of /" and ...
0
votes
0answers
6 views
Rewrite Rule/Cond with wildcard URI path?
I need to forward any request on my site that ends with classes.com/random_text_string/grades (e.g. classes.com/sdfj83/grades) to /assignments (e.g. classes.com/assignments) but my current ...
0
votes
1answer
8 views
Python cgi.FieldStorage() is empty on form submission
I have the following directives in my Apache 2 virtual host configuration:
<Directory /var/www/foo_test>
Options MultiViews +ExecCGI
AddHandler cgi-script .py
AllowOverride All
...
0
votes
0answers
17 views
Configure apache with fcgi
I'm trying to configure Apache 2.4 (XAMPP 1.8.3) with fcgi module. First, I copy the mod_fcgi.so file to apache/modules directory. After, I add the following line to httpd.conf:
LoadModule ...
0
votes
0answers
16 views
Cant install php5 pakages or upgrade to php5-5 neither
I tried to upgrade on a debian server php5.3 to php5.5 but apt-get install failed, and i juste manage to install php5.4..
this was a little while and now i realize that there is many missing pakage, ...
0
votes
0answers
2 views
Editing the stock file viewer of apache2
what follows may be something that looks confusing and not that clear to understand, so i hope everybody will forgive me for my bad english, as i'll probably going to use improper words for what i'm ...
0
votes
2answers
15 views
install php on top of already installed apache2 server
I have already installed the apache2 on my raspberry pi (raspbian OS) when setting up a svn server. Now I want to add a web server running php and mysql. What is the best way to do this without ...
0
votes
0answers
9 views
Kohana can't find template on the server, but it works fine on localhost
I'm working out the kinks in the deployment of my webapp in development, but I've finally hit one I can't figure out on my own.
I have a post-commit hook in my svn that deploys all of my commits to a ...
0
votes
0answers
13 views
Two mpm_even_module in apache2.conf
I happened to check the production box configuration and I noticed that there are two mpm_worker_module configurations. I would like to have only one reconciled configuration.
<IfModule ...
0
votes
0answers
4 views
Mod_jk not rewriting as I would expect
** Environment **
Windows 7
Apache 2.2
Tomcat 7.0.0.52
I have a tomcat project that is running on http://localhost:8080/me. I would like to instead use http://localhost/me
to access it. I have ...
-4
votes
0answers
65 views
High Memory Consumption [duplicate]
I have an Apache module written in Delphi 2010 that acts as a server. A client application (Windows Mobile 5.0) issues SOAP requests to this module, the module gets data from database and passes it ...
0
votes
1answer
13 views
Redirect www domain to http
I am having a hard time in trying to redirect all www requests to http in apache.
in http.conf i have:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(([a-z0-9_]+\.)?test\.pt/.*)$
RewriteRule .? ...
0
votes
1answer
20 views
Cross domain access not working
I'm trying to make cross domain request to xml file. In .htaccess I have
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
and in ...
0
votes
0answers
9 views
Using proxyPassMatch to change a URL
I am trying to put one variable from a url to a different url
But im trying to do this twice .
This is what I have so far:
<VirtualHost *:80>
ServerName server.com
ServerAlias ...
0
votes
0answers
4 views
redirect rules should be placed within vhost configuration or .htaccess, performance-wise?
I am working on a website that has been re-implemented from scratch and I ended up with 15K redirect rules from old urls to their equivalent new ones. Due to irrelevant-to-this-question reasons, I was ...
0
votes
0answers
51 views
Upgrade OpenSSL from 1.0 to 1.0.1g
I've upgraded openSSL, the command line shows :
xxxx@ip-10-xxx-xxx-xxx:/home/xxxx# openssl version -v
OpenSSL 1.0.1g 7 Apr 2014
But the phpinfo() function shows:
openssl
OpenSSL support ...
0
votes
0answers
113 views
Delphi Shared Module for Apache Runs Out of Memory [on hold]
I hope someone will shed some lights on issue I am having.
I am writing an Apache shared object module that acts as a server for my app. Client or multiple Clients make SOAP request to this module, ...
0
votes
0answers
9 views
Apache 2.4 authz_host not denying domain in a virtualhost with rewrite rule
Apache 2.4 authz_host not denying domain in a virtualhost with rewrite rule.
Hi! We're using apache 2.4.6 on FreeBSD 10 Stable. I have a lot of virtualhosts. This apache server operates like a ...
0
votes
1answer
17 views
log files location on apache
I found in my httpd configuration this line:
CustomLog logs/access_log common
But how can I navigate to that folder, when I use this:
cd /logs/access_log
I get:
-bash: cd: ...
0
votes
0answers
15 views
SSL for Redmine but redirect to another domain
I currently deploy 5 websites into 1 AWS server using Apache2 and tomcat7 (using mod-jk and mod-rewrite).
3 sites Tomcat: aoteaglobal.com, admin.aoteaglobal.com and admin.aoteaglobal.com
2 sites ...
0
votes
2answers
23 views
+50
Looking to redirect path /blog to another server using Apache
I want to host my blog on it's own server, but have the URL be at mysite.com/blog
Should I do this using mod_proxy or an apache redirect, and how would I set this up on apache?
My first pass attempt ...
1
vote
1answer
12 views
Rewrite resource URL to serve files from subdirectory
I have a static HTML site that uses resource tags (images, css, scripts) as follows:
<html>
<head><title>htaccess test page</title></head>
<body>
...
0
votes
0answers
7 views
Enable Updated openssl in Apache2
I am struggling enable updated openssl library in apache centOS6.
to install openssl 1.0.1g i followed
http://khanna111.com/wordPressBlog/2012/09/04/94087-7/
and seems everything goes fine.
I ...
0
votes
1answer
36 views
Apache mod_rewrite does not work with FastCGI
I am trying to configure Apache with HHVM. As part of this, I need to configure rewrite rules. I have started HHVM as a daemon in FastCGI mode. I have enabled Apache modules mod_proxy, mod_proxy_fcgi, ...
0
votes
1answer
10 views
Apache2 on Ubuntu 12.04: mysqlnd+mysqli and pdo_mysql - can i have both?
I have a strange error. If I install php5-mysqlnd, i can use mysqli and its functions. But i get a warning at startup in /var/apache2/error.log
If I install php5-mysql, i cannot use mysqli anymore, ...
0
votes
1answer
8 views
How can I stop my apache 2.4 server from being DDOSed?
I have a VPS (Ubuntu 13.10) on which I run Apache 2.4. As soon as apache starts, someone starts sending hundreds of requests. The majority (80%) of requests come from one or two IPs, and the rest come ...
-3
votes
1answer
14 views
Apache won't start, but it is installed [closed]
After installing, uninstalling and then reinstalling (don't ask) apache, this is happening
service apache2 restart
apache2: unrecognized service
Anyone have any idea why?
1
vote
0answers
28 views
Zend a2enmod rewrite [closed]
I have multiple php apps running on my local machine using vhosts. I want to develop a Zend app but to do so I need to execute a2enmod rewrite. When I do this my other php apps don't load. Right ...
0
votes
0answers
4 views
Cant get resource compression
I am trying to enable assets compression for my site.
Here is my .htaccess code
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css ...
0
votes
0answers
12 views
Setting up apache as a reverse proxy to tomcat while redirecting all other traffic to https
My goal is to setup apache as a reverse proxy to tomcat, and have all network traffic coming in go over port 80. Tomcat itself is running on 8085, but I want requests to servlets to come in on 80, and ...
0
votes
1answer
48 views
openssl upgrade and apache 2.0
I need to upgrade open ssl on a server that is running apache 2.0. I have found various fixes that talk about replacing libeay32, openssl.exe and ssleay32 but when I restart apache I get an error. ...
0
votes
2answers
16 views
MediaWiki and Apache2 URL issues
i'm new to LAMP and MediaWiki.
To go to my mediawiki i have to type in domain-name.com/wiki.
When i type in domain-name.com, i go to the apache's index page.
How to make root-url direct me to the ...
0
votes
0answers
18 views
Apache2 Ubuntu 13.10 after restart no longer working
Spent last night setting up Lamp server on Ubuntu 13.10. (installed through tasksel)
It worked great after I figured out how to setup a VirtualHost.
Hibernated computer, and came back tonight.
Now I ...
0
votes
0answers
9 views
CGI best practices on shared hosting
I have installed joomla in a subdomain on my shared hosting server, but the cgi-bin directory is inside the doc root. I would like to move this folder from
...
0
votes
0answers
9 views
apache2 cgid daemon failed to initialize
I have noticed some other people had a similar problem but while reading the post, I really could not figure out what the solution is or if it applied to me.
This is the apache2 error log surrounding ...
0
votes
1answer
47 views
+50
How do you setup a pysimplesoap server to run on apache2 with wsgi?
I have a soap server which I have been running as a stand-alone application i.e. by just simply executing python mysoapserver.py
However, I would like it to be accessed via apache2 using wsgi.
Below ...
0
votes
0answers
13 views
Can Apache2 and PHP be used on HANA DB Instance? [closed]
Can I use apache2 and PHP on a HANA DB Instance? I am asking this because both of these packages are available there. I have enabled apache2 but the www folder is not there and it is showing a 403 ...
0
votes
1answer
8 views
Give access to authenticated users
I have this in my configuration file:
Require all granted
Im running apache 2 on a windows.
I dont want to give everyone permission - How can i invoke authentication form when someone trying to ...
0
votes
0answers
20 views
Apache reverse proxy - following 301 redirections
I have specific problem with apache2 reverse proxy.
I have few websites behind reverse proxy. They are maped under <location></location> tag inside configuration file. Unfortunately some ...
0
votes
0answers
8 views
can't locate API module structure
I'm installing a subversion server and dav_svn.conf file.
I write loadmodule auth_svn.conf / usr/lib/apache2/modules/mod_authz_svn.so and get an error "can not locate API module structure".
0
votes
0answers
14 views
How to allow a php script to create and delete file at server where script itself is ?
<?php
echo " changing mode ";
chmod("fruits",666);
echo " Deleting ";
//unlink("fruits");
$res=shell_exec('rm fruits');
?>
trying to change permission and then removing the file named fruits ...
0
votes
2answers
23 views
Sending LDAP request with message ID
Need to send an LDAP search request with message ID set to 0 value (as part of RFC validation testing). Tried the following modified code from apache directory api examples section:
import ...
0
votes
1answer
47 views
Elasticsearch with apache2 ssl proxy
Recently I have been trying to get Elasticsearch to be usable over SSL. This has taken me on a fun route between apache to nginx to apache to nginx and now finally back to apache.
I needed LDAP for ...
0
votes
0answers
5 views
Custom Logformat, Apache2, new-line \n
I'm trying to get a custom log from my Apache2 server,
I edited the predefined "simple" custom log as follows:
LogFormat "%a %t %U \n"
The log works but the output is always on a continuous line, ...