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.

learn more… | top users | synonyms

2
votes
1answer
144 views

Hosting my own website on apache2, what information do I need from my domain registrar (bluehost)

I have lamp-server installed and am ready (and excited) to host a domain I purchased from bluehost on the server in my room. I have a few other things set up like openssh. What information do I need ...
2
votes
3answers
18k views

Configure apache to make local website available for external people

I would like to make my local website (running on a virtual CentOs machine) accessible for my mate who is also working on the website. I have created a new line in my router config to forward all ...
0
votes
2answers
110 views

How do I select a different start/default page per domain?

I have an apache2 installation on www.main_domain.com (invalid underscore in domain name is intentional; this is an example), and the default page gives links for two secondary sites, also served by ...
1
vote
2answers
118 views

Beginner's Apache mod_rewrite - use custom file for website root

Plain and simple - I want user to get main.php file instead of index.php, when he enters website. Such a straightforward task has caused me a lot of pain, and couple of hours googling. Following does ...
2
votes
1answer
890 views

.htaccess file ignored on Ubuntu Apache 2 server

I'm having a problem with an .htaccess file on a newly installed Ubuntu server running Apache2. The .htaccess file in the directory where the WordPress files are located isn't being take into account ...
1
vote
2answers
302 views

Weird unexpected image compression on a web server running Apache on Ubuntu?

I have a weird problem on my production web server running Apache on Ubuntu: it compresses my images thereby dramatically lowering their quality! Actually I have two virtual hosts running, each ...
0
votes
1answer
222 views

How to block my images from being displayed by other websites? [duplicate]

Possible Duplicate: How is anti-hotlinking done? I have a lot of images on my site and I don`t want to let other people to use my images on their sites. Is there any way to block the use of ...
0
votes
1answer
806 views

Override .htaccess from parent directory

I have a local LAMP stack (without the MySQL. LAP stack? Anyways..) and I am using this as a development environment for a production website. The site is placed in a sub-directory of the Apache2 ...
0
votes
2answers
73 views

Flash site loads slowly

I have a simple html page that embeds an swf, that downloads other xml, swf and image files. The total count of the requests reaches about 90. I am aware that it should take a while until the content ...
1
vote
1answer
56 views

Apache2 and domain name

I have a server running several sites (sites-available/...) which all have a domain name, and are differentiated using their port number(www.xxx.com:8090, www.xxx.com:8091,etc..) I have a domain name ...
0
votes
1answer
486 views

apache2 running but doesnt load my index.html

I have a linux server running apache2, I have my own user folder: /home/me/... I added a .htaccess to my folder with: DirectoryIndex index.html in it and the server IP is: 123.456.789.111 I tried: ...
1
vote
1answer
404 views

Reverse proxying only a specific URL

I have a web server at www.ourcompany.com running Apache2. Using the proxy modules, I am able to (for example) get 172.16.0.5, an internal IP device, to be accessed on www.ourcompany.com/device. The ...
1
vote
1answer
58 views

Forcing adverts via apache configuration file

I have a server I am trying to force adverts for free users. I can do it with a .htaccess file with this line "php_value auto_append_file '/var/www/vhosts/demoblog/demoblog.tk/httpdocs/test_ad.php'" ...
1
vote
0answers
150 views

Video from internal network served to an externally visible web page [closed]

I am being asked if it's possible to take video from an internal IP camera and serve it to our external website like a live-feed camera. My initial thought is that it would have to be done through ...
1
vote
1answer
52 views

Redirect requests to another folder

I want to redirect all the requests that come to the folder 'test' to 'test1' using apache configurations. How do i do it?
5
votes
1answer
2k views

Applying domain name to a subfolder/path

I have a Linode instance of Ubuntu 10.4 using the LAMP stack to host an instance of Magento and a couple other things. I currently have megento set up at: http://123.459.780.123/magento When I ...
1
vote
0answers
2k views

Error 504 with Apache and php [closed]

My web application works fine in development environment, but on production server gives off: 504 Gateway Time-out The server didn't respond in time. Edit: I have traced the problem to a ...
1
vote
2answers
8k views

Virtual host not working in Windows 7 XAMPP

I am using Windows 7 and XAMPP. I want to create a virtual host so I added 127.0.0.1 myawesomeproject to my hosts file (C:\Windows\System32\drivers\etc\hosts) like this: # Copyright ...
1
vote
1answer
960 views

Purposes and priorities of Apache conf files

I've installed an Apache2 server on a Linux Box (Ubuntu 10.04 TLS) and am trying to setup some virtual host and proxies. There is some stuff in the apache2.conf, an empty httpd.conf (which was used ...
2
votes
2answers
345 views

SSL Certificate is Untrusted… sometimes

Web Designer I'm working with signed up a new client that needed an SSL certificate. We went to namecheap.com and purchased on from Comodo. Got all the needed files and set it up in ISPConfig. To ...
1
vote
3answers
637 views

How to 301 redirct all incoming requests to a domain to another domain?

I have a WordPress blog running on an Apache2 server currently that I need to completely move to a new domain name. http://www.somesite.com/ to http://www.someothersite.com I need all requests to ...
2
votes
1answer
263 views

Optimal way to implement very big redirect list in Apache2

I have about 6000 URLs that need to be redirected after changing the CMS. All those URLs are stored in a DB table together with an ID that allows me to tell what is being referenced. Using this table ...
1
vote
2answers
1k views

Apache FilesMatch regexp: Can it match by the cache buster 10 digit (rails generated) following the filename?

According to the apache FilesMatch docs: The FilesMatch directive provides for access control by filename Basically, I only want to set an expires header for resources that have a 10 digit ...
0
votes
2answers
449 views

How to setup apache2 redirect but keep domain name?

I run a small community web site where users can each get a free blog. The blog address is always something like http://mydomain.com/blogname One user have bought his own domain and want to ...
2
votes
3answers
5k views

Apache logs: “::1 … ”OPTIONS * HTTP/1.0" 200 -

Just looking at logs of a not-so-busy site on one of our Apache servers and notice tons of these in the log: ::1 - - [15/Apr/2011:12:11:40 -0700] "OPTIONS * HTTP/1.0" 200 - ::1 - - ...
0
votes
1answer
227 views

Force hostname for request

I have a web server running Apache HTTPD 2.2 serving as a reverse proxy for my IIS 7.5 server. This worked fine, until I wanted to use OpenID (using DotNetOpenAuth). Since DotNetOpenAuth throws an ...
1
vote
1answer
447 views

Adding custom handlers

I have a number of D language programs (.d extension) and a compile-and-run tool (rdmd)--I'd like to configure Apache (version 2.2) to handle URLs such as "mysite.com/d/hello.d" by running rdmd with ...
1
vote
2answers
2k views

apache domain redirect to subfolder

I have a hosting account with godaddy. Its a linux system running apache. The way they do their setup is your primary domain is the root folder. When you add a subdomain its in a subfolder of the ...
2
votes
2answers
112 views

Virtual hosting

I want to use domains like xxx.abc.domain.tld. The xxx is my folder to access. I tried it with the rewrite rules, but I can't get it working, because I don't know how to get the part xxx from the ...
2
votes
2answers
656 views

Redirecting a CSS file based on .htaccess rules

I'm trying to hack the css files on OSTicket by replacing them with my own custom ones when a specific URL is accessed. The URL that is accessed for this example is ...
2
votes
1answer
316 views

Forward the request to other backend system on Apache webserver?

I want to forward my domain request to my backend systems without creating subdomain. For example: xyz.com my domain, when anyone enter 1.xyz.com request forward to 10.0.x.x. I want to host my all ...