The Apache HTTP Server is an Open Source Web server, which originated from a series of patches to the NCSA HTTPd. Apache is the world's most popular Web server, which is run on 54.90% of all Web servers according to the Netcraft survey conducted July 2010.
0
votes
1answer
512 views
How to serve WAMP website over internet? [duplicate]
Possible Duplicate:
Is it feasible to run a public-facing website from my home network?
I have just installed a portable WAMP (EasyPHP) in order to test a website.
I can access the site ...
2
votes
1answer
219 views
Remove multiple trailing slashes in a single 301 in .htaccess?
There is a similar question here, but the solution does not work in Apache for our site.
I'm trying to remove multiple trailing slashes from URLs on our site. I found some .htaccess code that seems ...
0
votes
1answer
221 views
Rewrite in Mediawiki, remove index.php, htaccess
I've just installed Mediawiki on Apache and I want the url should be
localhost/Main_Page/
localhost/Special:Recent_Changes
...
instead of
localhost/index.php/Main_Page/
...
2
votes
0answers
205 views
Seeking htaccess help: Converting multiple subdomains (both http and https) to www.domain.com using .htaccess
I've been trying to get an answer to this question on other forums (the folks at SuperUser thought this was the place I needed to post) and via my connections, but I haven't gotten very far. Hopefully ...
0
votes
0answers
56 views
How can I benchmark my servers network speed? [closed]
I´ve rented a server online and i wonder how to check the bandwidth possibilities of my rented server. My problem is that I only own a 16.000 kbit/s internet connection and i want to know if it is ...
1
vote
1answer
136 views
Getting fingerprint from Apache certificate (combined with key)
I have just created a certificate for my Apache SSL host using:
make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/myhost.crt
Now what is the correct way to get the fingerprint out of ...
1
vote
3answers
325 views
Interpretation of empty User-agent
How should I interpret a empty User-agent? I have some custom analytics code and that code has to analyze only human traffic. I have got a working list of User-agents denoting human traffic, and bot ...
0
votes
0answers
111 views
multiple godaddy domains to home router then reverse proxy to multiple internal servers [closed]
I need someone to steer me correctly... advising on all required components.
I have multiple domains with godaddy, say site1.com , site2.com, site3.net
I have multiple home LAMP servers... one on ...
3
votes
1answer
126 views
Subdomain In Addon Domain Is Not Working
I added a new addon domain to my cPanel hosting. With the new added addon domain, I try to make some subdomain of it. But, the subdomain is not working like subfolder does.
This is my situation:
...
2
votes
1answer
88 views
Stop Apache serving filetypes
Preferably using .htaccess files, though .conf files are an option, is there any way to stop Apache serving certain filetypes?
For example, .db shouldn't be served for obvious reason (privacy and ...
2
votes
1answer
172 views
Apache2 Unwantingly Allowing Proxy Requests
I'm not sure if this is the right location, but this is fairly urgent. I have completely removed all traces of mod_proxy and the other mod_proxy mods, although the Apache server continues to allow ...
0
votes
0answers
106 views
apache virtual host concept and dns [closed]
I want to have around 60 repositories of projects and I want to serve them from a dedicated remote server(ubuntu) with the help of mercurial server so that all my developers will be able to update ...
3
votes
1answer
129 views
The concept of virtual host and DNS
I have a dedicated server and a mydomain.com (bought from a hosting company). I want to host a website from my dedicated server with the domain mydomain.com i.e. when I enter mydomain.com from browser ...
3
votes
1answer
171 views
URL rewriting via forward proxy
I have an app that runs inside my firewall and talks out to multiple end points via HTTP/HTTPS on a non-standard port e.g. http://endpoint1.domain.com:7171, http://endpoint2.domain.com:7171
What I ...
6
votes
6answers
140 views
access to site owner not working
I made a website it works for everyone except for the site owner, who cannot access the site. He gets a server could not be found error. I went to his house and the issue occurs for all of his devices ...
1
vote
1answer
113 views
Apache URL Rewrite
I'm trying and failing to get a URL rewrite working, firstly I'm doing it in the vhost declaration, is that right?
What I'm trying to do is take any URL which has;
view.php?id=[a 1 or multidigit ...
0
votes
0answers
114 views
Subdomain redirect to WWW
I have the domain example.com and the test.example.com running on apache server. For some reason when I try to visit test.example it is redirected to www.test.example and by consequence a Server not ...
3
votes
0answers
358 views
Password protect an alias virtual directory
I have a main domain being hosted through CPanel. I also have a sub-domain that I would like to appear as a path under the main domain instead of as a sub-domain. So I have:
http://example.com/ ...
3
votes
1answer
327 views
Disallow all user agents except one using .htaccess?
I've been struggling to get this .htaccess working. The aim is to disallow all user agents besides my app. The app sends a GET request with a user agent of lets say 'AcmeUpdater'.
Whenever I try to ...
0
votes
0answers
10 views
Purchasing web hosting for PHP + PostgreSQL + Apache [duplicate]
Possible Duplicate:
How to find web hosting that meets my requirements?
thought of posting here since I know folks here are much experience in this. I spent my overnight finding some web ...
1
vote
1answer
104 views
How can i point wildcard domains to a folder in apache
I am developing an app using PHP and deploying it on Apache on the Amazon AWS environment.
This app requires to be made available to customers from their own chosen domain name?
How can i acheive ...
0
votes
0answers
15 views
Using an Apache server to host the site to the world [duplicate]
Possible Duplicate:
What things required to host a website at home
Instead of getting a domain name (ex. www.google.com), I want to host my site on my mac using Xampp control and have the ...
6
votes
3answers
150 views
Use Apache to prevent a PHP script from connecting to a specific domain
Is there a way to prevent apache from connecting to a specific domain e.g. somesite.com?
I have a PHP script that trying to connect to specific host, and I would like to prevent that.
4
votes
1answer
117 views
Apache create index for directories without one specified.
Currently, I use a PHP script to list the contents of a directory that does not have an index file, but I don't want to have to copy it to every directory without an index.
Can Apache do it ...
2
votes
1answer
418 views
Help with 301 redirect from subdomain to root domain
I need to forward existing subdomain links to the root domain as the subdomain no longer exists. I have tried so many different lines of code in my .htaccess file and can not get the redirect to work.
...
0
votes
0answers
64 views
Configuring PHP Scripts To Accept any User and Group Permissions [closed]
A client I'm doing some PHP work for has a virtual private server set up to host his website. The server admin has made every folder starting from root be non-group-writable and owned by ...
2
votes
1answer
80 views
Should I upgrade from Apache 1.3.x to 2.x?
We are in the middle of setting up a new container to migrate our ever growing web app onto. Primarily to satisfy a security audit, but also to catch up and implement missing/outdated security.
The ...
3
votes
1answer
151 views
Difficulty enabling caching on inherited site
I have been asked to work on a corporate website a previous employee had created.
The site is on shared GoDaddy hosting. One of the first things I noticed (after the 140KB JPEG on the front page, ...
0
votes
1answer
94 views
Do Apache virtual hosts perform better when listening to different ports?
I plan to use mod_proxy to route requests to Apache virtual hosts based on the URL. example.com/foo/x is routed to foo.example.com/x, example.com/bar/x is routed to bar.example.com/x, etc.
Are there ...
1
vote
2answers
96 views
Hosting an apache server from my mac
I created a website with PHP and JS. I want to send my IP address to a friend who is in another state and let him see it. My site is loaded by xampp. How could I do this?
0
votes
1answer
129 views
How to silently auto-load from a subdirectory, but allow internal paths to think the file is located at site root?
I have files in my site root, and also files in its "Iternet_IE" directory. I need to:
1.) be able to call/include other files (e.g. headers or footers) from within files at either of those ...
0
votes
1answer
217 views
Apache: how to create subdomain on name-based virtualhost?
i have name-based hosting, lets name it my.address.com - my friend have 'white' ip -address.com and gave me virtual machine than i can access via ssh, also, he made some magic with ports and now after ...
1
vote
1answer
206 views
conditional DirectoryIndex based on IP address, using .htaccess
I've got this in httpd.conf:
<VirtualHost xx.xxx.xx.xxx>
Options All +ExecCGI
ServerAdmin hostmaster@thehost.com
DocumentRoot /var/www/html/domain.com
ServerName dl.domain.org
...
2
votes
2answers
376 views
Is making my PHP files read-only a useful security measure?
Up until now I've been "protecting" my website's PHP files by making them read-only with chmod.
Is this a useful security tactic? Or is it some "old wive's tale" and I'm wasting my time?
I'm ...
1
vote
2answers
186 views
In apache, how to map site.example.com to example.com/site
I'm sure there is documentation for how to do this, but I don't know what it's called so I don't even know how to start searching.
On my webserver, example.com, i have a site called site. It's ...
2
votes
1answer
191 views
Sitemap file getting double compressed
I have a script that generates my XML sitemap and writes it to the file sitemap.xml.gz - i.e. an XML file, compressed with gzip. This file is definitely written correctly as when I download it via FTP ...
0
votes
1answer
138 views
Using modproxy to get around China's Great Firewall
I'm using WIX service and I like it very much. However, one big problem is that some of my colleagues are in China but their IP is blocked.
I'm wondering if modproxy can help me. I would like to ...
0
votes
0answers
436 views
htaccess rewrite rules converted to nginx not working?
I used this tool and converted my rules to Nginx. However one rule doesn't seem to be working.
My working .htaccess rules are:
RewriteRule ^(.*)\.html $1\.php
RewriteRule ^(.*)/settings\.html$ ...
0
votes
0answers
127 views
Downloading from Apache with Android handsets
I've an Apache server running on Windows, and seem to be unable to download any files from it to my Android phones.
From a very basic default directory listing from apache, saving a link always ...
0
votes
3answers
310 views
Make Apache treat ASPX as html
I've swapped from ASP.NET to .PHP for cost reasons. As such, I want the people to be redirected from .ASPX to its equivalent .PHP. If I create the .aspx with HTML, the file is simply displayed in ...
2
votes
2answers
282 views
getting 500 intenal error when setting 301 redirect using .htaccess
I am trying to use a 301 redirect to direct users and bots to my new site but when I put the .htaccess live i keep getting a 500 internal error shown.
The site is actually a subdomain which i want ...
1
vote
2answers
127 views
How can I make a webmail URL available from any hosted domain?
I run Roundcube webmail on my VPS. At the moment, it is only accessible from one virtual server hosted on the server, unless a separate Roundcube installation is created for other virtual servers. I ...
0
votes
2answers
265 views
help redirecting IP address
Google has indexed the IP address of my site rather than the domain, so now I'm trying to set up a 301 redirect that will redirect the IP address and all subsequent pages to the domain.
I currently ...
0
votes
3answers
131 views
Subdomain Is Redirected and Causing an Error Because www. is Added
On my site, say example.com, if I try to access test.example.com, Firefox automatically adds www. to test.example.com, making it www.test.example.com, which causes an error. However, if I visit a site ...
2
votes
1answer
38 views
Finding out what features of regular expressions are supported by mod_rewrite in Apache 1.3?
Is there a particular regular expression engine that is used by mod_rewrite on Apache 1.3?
I want to know so I can get a list of supported and non-supported features.
-2
votes
2answers
119 views
My forum HTTP redirect won't work .htaccess? [closed]
Yeah, I already have this code "DirectoryIndex Forum-The-Lounge.html index.php" at the top of my .htaccess
And I want my site to redirect into a sub-forum like http://mebes.net? My site is ...
0
votes
0answers
16 views
Best and reasonably priced VPS in UK [duplicate]
Possible Duplicate:
How to find web hosting that meets my requirements?
I am looking for a VPS, they must be good and competitively priced. The one I like the look of so faris:
...
1
vote
1answer
476 views
Apache (XAMPP 1.8.0) access.log/Intrusion Detection Concern
[I originally posted on SO but it earned me a Tumbleweed badge. This looks like a better venue for the question.]
I have Apache (XAMPP 1.8.0) running on Vista Pro x64. A couple times now I have seen ...
1
vote
3answers
839 views
Nginx or Apache for a VPS? [closed]
I consider myself to be an inexperienced user/administrator when it comes to running my VPS. I can get by with a few CLI commands, I can set up Webmin and I can set up Yum repos, but beyond the very ...
0
votes
1answer
242 views
Apache real time robot detection
Background
Our website is being
a. scraped - complete pages downloaded
b. spidered - complete pages and sub links followed
c. mined - specific files downloaded at high speed
by hundreds of ...
