apache-config Questions
9
Imagine you have a site API that accepts data in the form of GET requests with parameters, or as POST requests (say, with standard url-encoded, &-separated POST data). If you want to log and an...
Genevieve asked 13/6, 2009 at 4:17
13
Solved
I have a server from AWS EC2 service running on Linux ubuntu and I have installed apache, php, and mysql.
I have added a .htaccess file in my document root /var/www/html.
I entered this code in it:...
Impenetrable asked 30/8, 2012 at 17:33
3
Solved
I have a non-Apache server listening to port 8001 and Apache listening port 80. I want a certain virtual domain to actually be served by the non-Apache server over port 80.
Example:
<VirtualH...
Hanser asked 21/7, 2009 at 23:58
3
Solved
I have added these 2 lines in my etc/apache2.conf file, and it hid the OS and apache version.
ServerSignature Off
ServerTokens Prod
But after all I can see the header with server name
Server Ap...
Gyroscope asked 10/10, 2014 at 10:6
13
Solved
I am using a hosting company and it will list the files in a directory if the file index.html is not there. It uses ISO 8859-1 as the default encoding.
If the server is Apache, is there a way to se...
Sainted asked 27/5, 2009 at 4:4
8
Solved
I use centOS server. I want to configure apache to listen on port 8079.
I added LISTEN 8079 directive in httpd.conf.
I opened port 8079 in iptables and restarted iptables. I even stopped iptables s...
Medico asked 15/10, 2010 at 9:15
3
Solved
I'm using Apache and I want to redirect all received request to the ssl virtual host.
So I have the following line in the regular http virtual host:
RedirectMatch (.*) https://www.mydomain.com$1 ...
Carcinoma asked 26/4, 2010 at 20:18
2
Is this how to use AND, OR for RewriteCond on Apache?
rewritecond A [or]
rewritecond B
rewritecond C [or]
rewritecond D
RewriteRule ... something
becomes if ( (A or B) and (C or D) ) rewrite_it....
Egg asked 28/5, 2009 at 18:11
9
Solved
I have just installed CentOS, Apache and PHP. When I visit my site http://example.com/myapp/, it says "forbidden". By default it's not loading the index.php file.
When I visit http://example.com/m...
Enlarge asked 5/3, 2010 at 3:41
3
Solved
I run XAMPP and I'm trying to learn how .htaccess works. I have a file structure that looks something like this:
/parent
/foo
/bar
.htaccess
I simply want to change all foo requests to bar wi...
Yielding asked 19/9, 2017 at 14:35
5
Solved
I want to load configuration (apache commons configuration) from a properties file. My program is:
PropertiesConfiguration pc = new PropertiesConfiguration("my.properties");
System.out.println(pc....
Novgorod asked 10/6, 2011 at 13:54
7
Solved
I had a server running on a Windows XP machine using Apache2 with PHP and MySQL. I've recently upgraded to Windows 7 and have been having trouble getting it to work. Apache works fine and PHP works...
Exhaustion asked 16/12, 2009 at 5:47
5
Any python libs for parsing apache config files or if not python anyone aware of such thing in other languages (perl, php, java, c#)?
As i'll be able to rewrite them in python.
Gaming asked 25/10, 2008 at 23:36
3
Solved
Do I need to restart httpd after changes in the httpd.conf file for changes to take effect?
Gingerly asked 31/10, 2010 at 10:18
2
I have a website with SVG images, but I have a problem. My site is on an Apache server with my host. My images are displayed very well when my site was on my local server but now it is on my host i...
Richards asked 7/3, 2014 at 14:15
4
Solved
I can currently run either Django through mod_wsgi or PHP on my Apache server.
My Django projects run at: http://localhost and source is at C:/django_proj
My PHP projects run at: http://php.local...
Birt asked 19/6, 2009 at 22:56
6
I have a highly trafficked application on one debian machine and apache has started acting strange.
Every time I start apache, tons of apache processes are spawned, the app doesn't load at all, a...
Ensilage asked 1/2, 2009 at 17:27
7
Solved
I'm currently trying to place a URL within a URL. For example:
http://example.com/url/http%3A%2F%2Fwww.url2.com
I'm aware that I have to encode the URL, which I have done, but now I am getting a...
Counterpoint asked 8/12, 2010 at 17:32
1
Solved
We could override the default php.ini settings using the
PHPINIDir /var/www/web1
directive in <VirtualHost> decription.
But I have seen php_value statements which is applied to all the si...
Gauguin asked 26/11, 2015 at 8:2
4
Solved
I want to check whether mod_headers and mod_expires modules enabled or not in my server
Is there a way available to list apache enabled/disabled modules using some php function just like we list p...
Iniquity asked 9/1, 2012 at 20:13
3
Solved
I have an index file that builds content based on n PATH_INFO variables.
Example:
site.com/A/B/n/
should use index.php at either:
site.com/index.php?var1=A&var2=B&varN=n
- or -
site....
Dysphoria asked 29/7, 2011 at 19:44
3
I am in the process of learning Ruby on Rails and things have been going smoothly - up until I tried to deploy one of my test applications to my shared hosting account.
I use Host Gator and was ab...
Margotmargrave asked 2/6, 2011 at 19:20
8
Solved
I have the following problem
My hosts file is as follows:
127.0.0.1 localhost
127.0.1.1 barbala4o-HP-ProBook-4530s
127.0.1.1 mysite.localhost
My file in the /etc/apache2/sites-available/mysite....
Sabina asked 22/10, 2013 at 13:12
5
Solved
I am installing Koha from source. Generic unix directions indicate the following step after sudo make install
sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
huh?
My apache2...
Rosetterosewall asked 22/1, 2010 at 23:2
1
Solved
I'm no really sure if SO is the place to ask this question - let me know if not. I thought about superuser, but it didn't seem to fit into their faq specs much.
Anyway - the question! Do i need to...
Nagoya asked 1/7, 2012 at 2:46
1 Next >
© 2022 - 2024 — McMap. All rights reserved.