Questions tagged [apache2]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

index.pl getting downloaded instead of executing on Ubuntu 12.04 and Apache 2.2.22

I have installed Apache 2.2.22 on Ubuntu 12.04. But in browser when I type localhost, it gives index.pl file to download instead of executing it. What I tried: 1. chmod 755 index.pl 2. Adding line ...
0
votes
1answer
2k views

Apache is redirecting all https requests to one vhost

Apache novice here, We run a server with a few dozen vhosted sites, under apache 2.2.22 on ubuntu 12.0.4. None of them had a SSL before. We had a client request one the other day, and shortly after ...
0
votes
1answer
248 views

Can I redirect the HTTP request towards an old folder to the homepage using .htaccess file?

I have to following situation: I had an old blog that was made using Joomla (this blog was indexed well enough by search engines). For some problems I delete it and I have create it again using ...
0
votes
1answer
37 views

Web server with or without Panel [closed]

I start a Web server for my company for hosting about 15 website and I didn't install a Control Panel, I do everything by command and i'm pretty comfortable with it but do you think i'm losing time by ...
0
votes
1answer
3k views

Apache2's recursive directory permission requirement

The experience I've had thus far is from Ubuntu 10.04 and 12.04 64 bit OS so if there are other OS differences I'd like to know if this is an OS specific problem or not. The issue I've experienced is ...
0
votes
1answer
190 views

How to ensure apache2 reads htaccess for custom expiry?

I have a site with Apache 2.2.22 . I have enabled the mod-expires and mod-headers modules seemingly correctly: $ apachectl -t -D DUMP_MODULES … expires_module (shared) headers_module (shared) … ...
0
votes
1answer
725 views

Do I need a subdomain or CNAME?

I have a domain with Godaddy (mysite.com) which is pointing to my AWS EC2 box. Now I need a launchpad link on my website so that if the user clicks on it it would point to launch.mysite.com This ...
0
votes
2answers
1k views

apache virtual host problem on windows 7 - please explain

This problem has never occurred in the past (i have tried this many times) but this time, ALL virtual hosts defined in the virtual-hosts.conf file in the apache installation directory direct the ...
0
votes
1answer
102 views

Is it possible to request Google and Bing/Yahoo to drop the cache of links they have indexed?

I radically changed the design of my site to not include embedded session keys which were part of the url itself i.e. /sessionkey/blahblah/blah to just /blahblah/blah. Now that I have relaunched my ...
0
votes
2answers
462 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 ...
0
votes
1answer
310 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 ...
0
votes
1answer
33 views

Visit a homepage: processing but no response

Updated: I used Chrome inspect and got this, What I did on my EC2 is to extend AWS EBS volumes from 10G to 13G, and rebooted my machine. Is it relevant to my issue? My disk usage: $ df -h ...
0
votes
0answers
4 views

Doubts about Apache configuration example for pre-compressed content

While reading the Serving pre-compressed content section of the mod_deflate documentation, I am getting some doubts about the completeness of the configuration suggested there. As written, the ...
0
votes
0answers
80 views

Mod_rewrite rule for Magento2 to access sku with # in

I have an issue similar to this question Redirect URLs with a # in .htaccess I'm trying to access Magento 2 api at /rest/all/V1/products/sku. This works for majority of products but some have a # ...
0
votes
0answers
20 views

Apache: using mod_ext_filter to output html from custom program

I'm a little stumped. I have a DOS executable that I want to eventually run in my linux apache server. Research has led me to believe using the mod_ext_filter module is my best bet. I decided to ...
0
votes
0answers
15 views

cgi problem command line ok but 403 on website

I am running on Debian 9 strech, hello.cgi on command line perl -cTw hello.cgi all is fine When i try to navigate to the subdirectory I get an error 403. I add some lines to apache2.conf to ...
0
votes
0answers
2k views

Running test Python script under Apache 2.4 gives error “end of script output before headers”

I am trying to get a simple web service running on my local computer. In my cgi-bin directory in the Apache24 folder I added an empty file called pywps.cgi with the following content #!C:\ProgramData\...
0
votes
1answer
666 views

Apache FollowSymlinks works in DocumentRoot but 403s in subdirectories

I'm trying to run the Piwigo gallery/digital asset manager on a Raspberry Pi using Apache 2.4 on Arch Linux ARM. Piwigo's running happily. For Windows file naming and CIFS reasons, I need to make ...
0
votes
1answer
454 views

How do I setup redirect for multiple subdomains to different folders

So I have 2 sites on this particular server and this is all internal, but when a user goes to websvn for instance, I want them to go to websvn.domain.local and it is going there but it is also ...
0
votes
0answers
26 views

Unable to add new host to Apache webserver

I already have two hosts pointing to my machine, and I am trying to add a third "webmail.user.domain.com, but I receive DNS failure lookup. I created a configuration file for "webmail" with the same ...
0
votes
1answer
217 views

FTP connection timeout forces reconnect before every action

I'm uploading and modifying files on my Apache 2 server via FileZilla and after I perform any action, the connection times out after five seconds, so it keeps having to reconnect every time I perform ...
0
votes
0answers
13 views

Httpd not rewriting !hostname to hostname [duplicate]

Simple: xxx.xxx.xxx.xxx:443/80 --> https://login.example.com One site, one hostname, one server. So I've done this in the main httpd.conf to avoid virtualhost manips: <Location /> #...
0
votes
0answers
21 views

URL Alias not working in Apache with Redmine [duplicate]

This is a follow-up to my original post here because I got no answer there. The problem is that the request is being routed to Redmine despite the fact that Apache has an Alias for it. Anybody have ...
0
votes
1answer
958 views

Removing the subdomain as a subdirectory in Apache

I simply trying to make my webpage come up as owncloud.example.com instead of owncloud.example.com/owncloud. I am running Ubuntu 14.04 and Apache 2.4, and using OpenSSL. I have tried changing ...
0
votes
2answers
108 views

SSL issue and redirects from https to http

I have a site www.example.com for which i purchased SSL cert and installed. And it was working fine, I also have a subdomain with app.example.com which was not on SSL. Both www.example.com and app....
0
votes
2answers
4k views

Issue with Apache redirection [duplicate]

I want to redirect mysite.example or http://mysite.example or www.mysite.example or any other format given my user to http://www.mysite.example, I am able to achieve this by rewriting following lines ...
0
votes
1answer
327 views

Changing domain name - what are the practical steps involved [duplicate]

Possible Duplicate: How do I rename a domain and preserve PageRank? I launched a website a couple of years ago, bright eyed and bushy tailed, with dreams of conquering the world. Unfortunately it ...
0
votes
0answers
83 views

Logging what was in the content of a page

I'm one of the people working on a Java based website that has the apache httpd in front of it. The content on the pages is migrating towards personalizing the content and as such just about every ...
0
votes
1answer
253 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 my ...
0
votes
2answers
75 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
votes
1answer
37 views

How to hide file extensions in the URL without removing them from HTML? (Apache2)

I'm quite new to hosting a website, so bear with me. I get that I can remove file extensions with the rewrite module. However, the ones that I've found requires me to also remove the extension in my ...
-1
votes
1answer
1k views

Strange behaviour with Apache mod_ratelimit

I'm trying to use mod_ratelimit, but it's exhibiting some odd behaviour. Initially, my configuration was: <Virtualhost> ... <Directory /var/www/public> Order Allow,Deny ...
-1
votes
2answers
133 views

Apache2 subdomain to domain [SSL]

I have domain with SSL and 4 subdomains like: ftp.example.com, server.example.com etc. I'm trying to redirect from subdomain to domain. Example: if someone goes to https://server.example.com they will ...
-3
votes
1answer
126 views

How to block all hacking? [closed]

The title explains most of my question. The OS is linux (Lubuntu). The servers are Apache2 (PHP5), MySQL 5.6 and FTP (Samba).

1
4 5 6 7
8