Apache :: How To Setup Files Downloaded From It

Dec 19, 2013

URL....how to setup apache so files are downloadable from it. I guess I should also be using SSL.

View 1 Replies


ADVERTISEMENT

Rar Files Been Displayed Not Downloaded

Jul 14, 2007

Recently installed apache + php and such a move over this large site.

However any files that end with the .rar extension are shown in the browser instead of being displayed as a download.

Is there something i need to add to apache to force it to make .rar files be downloaded instead of displayed in the browser as jumbled text and symbols.

*I think im just have a memory block and can't remember how i have fixed this before*

View 1 Replies View Related

Plesk 12.x / Linux :: PHP Files Get Downloaded With Fast-CGI

Jun 3, 2015

I'm trying to get something simple to work in Plesk. I just want to use Apache for PHP files with Fast-CGI and PHP 5.6. Everything works fine with Nginx and PHP-FPM but because of the restrictions, that Nginx can only use a systemwide PHP version, which is 5.3.3 in my case, I need Apache for that.

So the problem is that I get the .php files as download and Apache doesn't parse them.

A little background information:
Cent OS 6.6
Plesk 12.0.18 Update #49
PHP Versions 5.3.3 and 5.6.9
PHP Handles installed with this KB [URL] ....:

Code:
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php-cgi /etc/php.ini false
module 5.3.3 5.3.3 5.3 module /usr/bin/php-cgi /etc/php.ini false

[Code] ....

Hosting templates are default and I checked every configuration file...

View 4 Replies View Related

Can I Lock A File From Being Downloaded Even If I Give Someone Ftp Access

May 22, 2009

if i can lock a file from being downloaded or viewed in ftp editor even if i give some one ftp access?

View 3 Replies View Related

Setup A Webalizer Which Can Run Weekly To Process W3log Files

Oct 29, 2008

My IIS W3Log File is under C:Inetpubw3LogFilesW3SVC1

looks like this which is daily log file:
C:Inetpubw3LogFilesW3SVC1ex081022.log
C:Inetpubw3LogFilesW3SVC1ex081023.log
C:Inetpubw3LogFilesW3SVC1ex081024.log
All my web site is under c:InetpubVS
c:InetpubVSWebSite1.com
c:InetpubVSWebSite2.com
c:InetpubVSWebSite3.com

There is a webalizer directory under each domain folder.

Does anyone know how to setup a webalizer which can run weekly to process W3log files and put the result into corresponding domain webalizer folder?

View 0 Replies View Related

Plesk 11.x / Windows :: Mail - Automatically Delete Downloaded Emails On Server?

May 15, 2013

Ho can I configure that in the mail accounts the mails are deleted after downloading with outlook?

View 2 Replies View Related

Apache :: How To Setup Directory

Apr 20, 2014

When I open my site in a browser and I point the URL to specifically // ipaddress / location A it's all good. (Apache Server)..My problem is, if you open the site in a browser with just the IP address alone it goes there for a second and then automaticlly goes to and opens the other site in location // ipaddress / location B.

However, what I need it to do, I think, is edit the apache conf file to make it open location A as the default. What do I need to do in the apache (httpd-conf) to fix that? For that matter is that the right file to edit?

View 1 Replies View Related

Apache: Setup A Proxy For One Page

Mar 5, 2008

Im using AJAX on my site and i need to access a seperate server instance on a different port. AJAX wont allow me to do that so i want to use Apache as a proxy but only for one page.

View 4 Replies View Related

Setup Bind Dns, Apache, And Vsftpd

Nov 11, 2008

I been using plesk, and cpanel so this is the first time I have Webmin for my CentOS.

After some googling and reading, i able to install apache, mysqld and vsftpd (for some reason, my host (hivelocity) didnt install these. So this is my setup.

a.com: in godaddy, i add nameserver host as ns1.a.com and ns2.a.com and change the dns to point to that

b.com: in godday, point dns to ns1.a.com and ns2.a.com
BIND DNS Server

========================

I create two master zone for a.com and b.com
a.com

Code:

$ttl 38400
a.com. IN SOA server.a.com. abc.yahoo.com. (
1226206691
10800
3600
604800
38400 )
a.com. IN A 1.2.3.4
server.a.com. IN A 1.2.3.4
a.com. IN NS server.a.com.
mail.a.com. IN A 1.2.3.4
ftp.a.com. IN CNAME a.com.
www.a.com. IN CNAME a.com.
a.com. IN MX 10 mail.a.com.
b.com
Code:
$ttl 38400
b.com. IN SOA server.a.com. abc.yahoo.com. (
1226206691
10800
3600
604800
38400 )
b.com. IN A 1.2.3.4
server.a.com. IN A 1.2.3.4
b.com. IN NS server.a.com.
mail.b.com. IN A 1.2.3.4
ftp.b.com. IN CNAME b.com.
www.b.com. IN CNAME b.com.
b.com. IN MX 10 mail.b.com.

APACHE

========================

I created 2 virtual servers for a.com and b.com
/home/sites/a.com/html
/home/sites/b.com/html

I create an index.php in a.com/html with content: "a.com YEAH"

I create an index.php in b.com/html with content: "b.com YEAH"

After wait for dns to propogated,

when i try to go to a.com, content "a.com YEAH" shows up.

But when goto b.com, content "a.com YEAH" shows up? Why?

Also, when goto ns1.a.com, content "a.com YEAH" is there.

I also has problem with vsftpd but let fix that later.

View 4 Replies View Related

Apache :: Setup A Virtual Host

Aug 7, 2014

I have a fresh Ubuntu 14.04 install (desktop). I installed Apache, php and mysql from APT and updated everything.I tried to setup a virtual host using these directions: URL...I followed them to the letter:

o I created a folder /var/www/mydomain.local/public_html
o I copied the 000-default.conf in sites available and modified it
o I added mydomain.local to my hosts file (with IP of 127.0.0.1
o I used a2ensite to enable the host
o I used service apache2 reload

When I went to mydomain.local in firefox, it took me to the default host main page.I tried a restart of the service and even a reboot of the computer. No change.On a theory, I used a2dissite to remote 000-default from the enabled site list and reloaded the service. I got the home page for mydomain.local after that.

I created a named host called localhost and reloaded the apache. When I went to http://localhost it took me to the mydomain.local homepage. Rebooted the computer. Now, localhost gives me the apache default home page and mydomain.local does not work at all (I get a server not found).

I get the feeling that there is an apache configuration item I am missing but I cannot find it.

View 1 Replies View Related

Apache :: 2.4 Subdomain Setup Fails

Oct 7, 2012

I am struggling with this all the day, no answer i found here as well. how to setup proper a subdomain i need. My Apache config has 2 domains configured (on same IP), for the domain2.com i need to setup a sub-domain. Here is what i have so far, but the subdomain keeps redirecting me to domain2.com (main site).

View 2 Replies View Related

Apache :: How To Setup 2.4 Ssl Offloading With Jboss 7.1

Jun 10, 2015

I am using Apache 2.4 and Jboss 7.1 on Windows server 2012 server. requirement is to have SSL offload in place for communication between Apache to Jboss. Apache will be secured to handle client requests from Apache onwards all servers in trusted zone hence there is offload requirement.

View 6 Replies View Related

Apache :: 404 Not Found Https Setup

Apr 11, 2014

i have setup everything before using ssl without issue for using https url.Now I'm having issues for Apache 2.4.9.

In url https://tomysite.com i get

Not Found

View 7 Replies View Related

Setup Login ID And Password In Apache

Jan 25, 2014

Where can I get examples to create login ID and password with changing of password function for valid user to access apache web server? 

View 3 Replies View Related

Linux For Hosting (HOW TO SETUP DNS, APACHE AND SENDMAIL) In RH 9

Feb 25, 2005

Starting linux for hosting (HOW TO SETUP DNS< APACHE AND SENDMAIL) in RH 9

hi does anyone know to setup these or could dirct me to step by step tutorials please.

View 2 Replies View Related

How To Setup The Apache Server To Allow Http Downloading

Sep 22, 2009

I installed apache, mysql, php on my windows vista laptop, and want to test http downloading. This means when selecting a file (for example, contact.php) from a page, and then click download, it will be downloaded to my desktop.

Do we need to install any other softwares to do that?

View 10 Replies View Related

How To Setup Frontpage Extensions For Apache On Windows

Feb 7, 2008

Does anyone know how to install the Frontpage Server Extensions on an Apache server which is running on a Windows box? I've searched around including on Microsoft's site, but I was only able to find info on how to configure for Apache running on unix/linux.

View 0 Replies View Related

Setup SMTP Server On WIN2003 Apache

Nov 24, 2007

I don't have any SMTP server

Its a dedicated unmanaged server that has windows 2003 and apache running. I heard you need IIS to enable SMTP on a Windows machine but I don't want to run IIS because I feel Apache is better.

View 4 Replies View Related

Apache :: How To Setup Exe Programs To Execute Instead Of Download

May 9, 2013

I am migrating to apache httpd 2.4 on windows xp. The current server currently has exe programs that execute as cgi programs. When I try to use one of these links, apache just servers the programs as files for download. How do I configure my httpd.conf to run these instead of download them?

View 1 Replies View Related

Apache :: Configuration To Setup Password For Website

Jul 8, 2013

I want to setup a password for a website running on Ubuntu server, and find Apache can be used. It is implemented by config httpd.conf file and .htaccess file.

So I want to ask:

1. In this case, the password is setup for a path on the server configured in httpd.conf file. Like in the following example:

Code: <Directory "/var/www/html/MySite">

The password is setup for the path to Mysite,right?

2. If my content of website is not stored under /var/www folder, I cannot use this way to setup a password for website, right? May use PHP instead?

View 1 Replies View Related

How To Setup Linux Proxy Server Apache+lighttpd

Apr 24, 2007

somebody know is possible on some way route traffic before come to web server (apache or lighttpd)?

I want to setup lighttpd on port 80 and apache on port 81 and I want visitors to go direct to apache or lighttpd without url:81 and that must work on this way if somebody visiting url1.domain.com that go to lighttpd on port 80 and if somebody visiting url2.domain.com that go to apache on port 81 and something must route it before lighttpd and apache (and get/post must work), is this possible on some way?

I know that lighttpd and apache can do it but I don`t need it on that way!

View 8 Replies View Related

Apache :: Log Rotation Setup - Directory Path Has Spaces

Sep 23, 2013

I am trying to set up log rotation on my Apache Server on Windows 2008 using the rotatelogs.exe executable. I believe I am having issues because my directory path has spaces.

From my understanding, a full path is needed for the ErrorLog but not for the CustomLog

ErrorLog "|"C:/Program Files (x86)/Apache Software Foundation/Apache2/bin/rotatelogs.exe" "C:/Program Files (x86)/Apache Software Foundation/Apache2/logs/Error/Error_%Y-%M-%D.log" 86400"

CustomLog "|bin/rotatelogs.exe logs/Access/Access_%Y-%M-%D.log 86400" common

The error that I get is:
C:Program Files (x86)Apache Software FoundationApache2.2bin>httpd.exe -k start
The system cannot find the path specified.

View 4 Replies View Related

Setup Apache Home Server - Port 4040

May 31, 2014

I had setup an apache home server. here the 80, 8080 ports are blocked . So I made my apache to listen to 4040 port. but the problem now is ,i use cloudflare service to point my domains to my server. now its showing error when i give my ip because the port is not 80. i tried putting dns host point to xxx.xx.xxx.xx:4040 in cloudflare but shows invalid ip ...

View 1 Replies View Related

Parsing EML Files On Apache

Jul 25, 2008

to open EML files on apache webserver, actually when I load an eml (outlook email message) by using an URL, it shows the email code, it is not pasing it correctly.

What libraries (apache or system) do I need installed to parse this kind of files?

Im using apache 2.0.6.3, php 5.2.6 and RHE 5.2

View 3 Replies View Related

Apache Not Recognizing My .php Files

Jun 29, 2008

Yesterday I was told by my hosting provider that my machine was at kernel panic, so they restarted it and I restarted my webserver (Apache).

I created a sub folder as I wanted to install a PHP script, so I created the folder using FTP and uploaded all of the script files.

The problem is, when I now visit that URL, my browser is asking me to download the .php file instead of the webserver executing it:

[url]

My web host said this:

it sounds like you aren't loading your php module library in your apache.conf and/or not associating the .php extension.

View 5 Replies View Related

Where Are Previous Apache Log Files?

Apr 21, 2008

log file for one of our accounts.

I going to /usr/local/apche/domlogs and but in this folder I can found logs for today only.

How can I found previous log files?

View 2 Replies View Related

Apache :: How To Delete Files

Jun 5, 2013

My server is with Centos OS. I have a cache directory which has tons of scrap files. I am unable to delete it. rm -rf dirname gives an error.Is there any way to remove this directory quickly. 

View 6 Replies View Related

Can I Setup My Control Panel To Update The Apache Config File

May 26, 2009

How can I setup my control panel to update the Apache config file

View 4 Replies View Related

Apache :: Setup Reverse Proxy - Create SSL Certificate For Ubuntu 14.04

Jun 22, 2015

My system consist of Ubuntu 14.04 server running LAMP. I am running Apache 2. On the same machine I am running Shiny server and running my apps through port 4949.

[URL] ....

I also am running an additional Shiny server copy on a virtual box through port 3838. All is running very good. I have an html web page running on Apache 2. I can view it and all my apps running on both Shiny servers from any place on the web.

My concern, however is security. I have port 3838, 4949, and 80 open. How can I set up Apache to run as a reverse proxy for my both of my Shiny servers (ports 4949, and 3838) and also continue to host my web page securely.

I have also attempted to set up a self-signed certificate using the following procedure but it is not working. I used the following instructions and followed them verbatim.

[URL] ....

How to set up a reverse proxy for my Shiny servers?

View 3 Replies View Related

Apache :: Gateway Setup - Point To Different Webservers Depending On Domain Name

Jul 17, 2014

I am looking for setup a gateway (reverse proxy I guess?), specifically how to configure Apache to point to different webservers depending on domain name.

I currently have a single webserver running multiple virtual domains all accessible via a single external IP address.

I would like to break this into 2 servers each running multiple virtual domains accessible via gateway with a singe external IP address.

As an example, a single internet IP address points to port 80 on the gateway machine. The gateway machine will determine if its example1.com, example2.com, example3.com or example4.com. If its example1.com or example2.com it will direct internally to webserver1 and if its example3.com or example4.com it will direct internally to webserver2.

Webserver1 and webserver2 each host different websites via virtual hosts.

Is this possible and if so, what is the correct configuration of the gateway machine. I currently have installed apache2 with mod_proxy enabled, but I am struggling with configuring it properly.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved