Debian Configuration :: Implementing 301 Redirect On Apache2

Sep 8, 2011

I have scoured the internet in search of a way to implement this 301 redirect on Apache2 to no avail. My distro is Debian 5.0 Lenny. I want all request to sepserver.net to be 301 redirected to [URL]. Does anyone know how to do this? I have never done this before so I could really use a detailed explanation of how to implement this type of 301 that will work.

View 2 Replies


ADVERTISEMENT

Debian Configuration :: Coding The Apache2 Charset Configuration?

Mar 5, 2010

I use apache2 with virtual host and I 've a solution of Webftp who run on it. This solution send automatically email when a new client register himself. In the header of the mail I look this "Content-type: text/html". But when I look this mail with Outlook 2007 the accents are bad coding.It's a script who generate this Html content email.

View 1 Replies View Related

Debian Configuration :: Redirect Trafic From Eth0 To Eth1

May 26, 2011

I have twe network cards eth0 and eth1. eth0 is connected to internet and eth1 is unusable. So, i'd like to redirect trafic from eth0 to eth1. how can i do it?

View 1 Replies View Related

Debian Configuration :: Install StartSSL Certificate For Apache2 In 8.1

Jul 17, 2015

Having tried different approaches to install (and run!) a webserver certificate from StartSSL on an Apache2 webserver, I had no success at all since three days. There are many web pages out there in the internet, each is naming it other ways, i.e. one speaks from server./etc/ssl/certs/server.pem, another name it /etc/ssl/private/server.key etc. etc.

Is there a common-sense description how to name a private key, how to name the public key, and just important again, where to place them and what what rights they must have to protect them? And, still important, which config file to adopt (default-ssl, or default-ssl.conf).

By the way, I implemented already the certificates in an other environments, and they are all working (tested with the ssl checker [URL] .....).

How to find a common-sense web page for Apache2 on Debian 8.1?

View 8 Replies View Related

Debian Configuration :: How To Integrate Apache2 With Freeradius For Authentication

Feb 4, 2016

I am trying in debian 8.2 but i am not found packet libapache2-mod-auth-radius whereas i have been include dvd1-3 debian and dvd1-2 update debian in my system. Where is that packet stand?

View 1 Replies View Related

Debian Configuration :: Apache2 (PHP) Add Default Charset ISO-8859-1?

Apr 9, 2010

I've been working on my servers, one of them is Ubuntu and the other one is Debian (Newest), and both seams to have a problem with charset configuration.

They wont register ISO-8859-1, insted it says no value when i look at it with phpinfo() function. It's importen that i feel this is working.

View 1 Replies View Related

Debian Configuration :: Can't Get Php5 To Run In Apache2 Userdirs (Squeeze)

Aug 11, 2010

I'm running an up-to-date install of Squeeze, and I'm having an annoying issue where php5 won't parse in userdirs (/home/*/public_html), although it works fine in the main document root (/var/www). I found this bug: [URL] Which seems to say the issue is fixed. However, the last comment for this bug suggests it is still an issue for some.

I've had a look at: /etc/apache2/mods-enabled/php5.conf and commented out the lines suggested in the comment:

[Code]....

..and it still doesn't work. I've googled this and can't find an answer. Anybody know? Am I missing something simple?

View 1 Replies View Related

Debian Configuration :: Disable Apache2 Does Not Restart On Boot?

Apr 19, 2011

want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd

View 1 Replies View Related

Ubuntu :: Apache2 Redirect After Changing 'Document Root' From /var/www?

Apr 2, 2010

In /etc/apache2/sites-available/default, I changed my 'Document Root' and 'Directory' from /var/www to /var/www/newdir.have an index.php file in /var/www/newdir I use to authenticate, but when I try to redirect back to index.html in /var/www, i get a 404 error.Anyone have info / know where the link to this discussion is

View 5 Replies View Related

Debian Configuration :: Apache2 Doesn't Start At Boot Time?

Dec 6, 2010

I am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?

View 1 Replies View Related

Ubuntu Servers :: Apache2 Virtual Host Appears To Redirect Url ?

Jun 4, 2010

My goal is a testing server with an apache virtual host for each site that I'm working on, with fairly painless setup for each new job.For example, I want http://site-a.mydomain to server this document root /home/client-a/site-a/public_html (or something to that effect)Ideally, DNS will use a wildcard to point http://anything-i-type.mydomain to the testing server, and apache will have a dynamic virtual host definition that will do a little magic so that I won't have to mess with DNS records or add a new virtual host each time I add a new site for a client. I'll worry about that when I get there, just put that out there in case anyone has any tips! for now I just have one little problem that's hurting my mood-

It looks like I've got my DNS server working just fine, so yay there- BUT my first attempt at adding a virtual host isn't working quite how I expected- meaning that site-a.mydomain now serves up the correct document root, but when you put http://site-a.mydomain into the browser's address bar, the address bar is then updated to http://10.0.1.100/site-a/public_html - bogus!! I must be missing an option like "FunnyBusiness Off" -

root@ubuntuvm:/etc/apache2/sites-available# vim client-a.mydomain
<VirtualHost *:80>
UseCanonicalName Off
ServerName site-a.mydomain
DocumentRoot /home/client-a/site-a/public_html
</VirtualHost>2

View 2 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I am getting this error

Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!

also what is 68.178.232.100

View 1 Replies View Related

General :: Configuration Error In Apache2 / "cannot Adjust Apache2 Service" Error?

Mar 11, 2011

Installation of SUSE 11 server now when I try to configure apache2 (opening port 80) I get a "cannot adjust apache2 service" error??? Can anyone shed some light on this.

View 1 Replies View Related

Debian Programming :: Implementing PyGtk For Python 3.3 In Wheezy

Sep 12, 2013

I run Wheezy Xfce 64-bit. I went through the Synaptic listings and added Python 3.3.2 and Tkinter for it, and that works fine; but for some reason PyGtk is available only for Python 2.7, not for Python 3.3, unless I'm just using the wrong way to try to find it. Is there a PyGtk available for Python 3.3 in Wheezy, and, if so, how do I install it and then import it once it's installed?

View 1 Replies View Related

Software :: Bugzilla Configuration - SSL Redirect

Mar 21, 2011

I installed Bugzilla on a Fedora 11 system and got it running. In the Admin options I set it to redirect all hits to SSL port 443.

This was a mistake.

After I saved that setting, every single request on all browsers seem to loop infinitely and the browser stops it - but I can't access any of the pages.

Does anybody know where that setting is set? Is it configured in Apache for that VHost? All I've found on the subject is changing the setting in Admin Options.

View 2 Replies View Related

Ubuntu :: Https Configuration On Apache2 10.04?

Dec 27, 2010

I have configure https for my local intranet on ubuntu.

I have followed following documentation.

[URL]

I am using Self-Signed Certificate.

I have 10 folders inside http://"myipaddress" location.I want to activate/access https:// for specific folder (https://myipaddress/myfolder).

here https getting activated for whole apache2 server.How can i activate it for specific folder.

View 1 Replies View Related

Server :: Perl Cgi Configuration Under Apache2

Sep 14, 2010

I want to learn perl CGI. I tried to configure it on apache server. But when I was searching about it in the net, I faced some difficulties. Each and every post has been leaded me in different way. I am confused now. I have done this,

1. Installed this libapache2-mod-perl2 module

2. Then I checked the /etc/apache2/mods-available/ using ls command for checking the module availability.Here I mentioned the output of ls command.

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Perl .pl, Cgi-bin Apache2 Configuration On 9.10?

Jan 18, 2010

Very new to Ubuntu (linux) in general and read various forum and threads to get .pl file to run on a new Ubuntu 9.10.My cgi-bin is in /var/www/site/cgi-bin. The server will run 2 websites site1 and site 2. Site2 is html only and site1 has some cgi and pl files. Everytime i get to the cgi-bin/other_director the browser tries download the file or even if going directly to index.pl. Please find attached my site-available for both default and site1 for your consideration. I also ran a2ensite site1 and a2ensite site2, the reloaded the apache2 serverQuote:

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www

[code]....

View 2 Replies View Related

Ubuntu Servers :: Vsftpd (+apache2) Permissions Configuration

Oct 13, 2010

how to configure vsftpd server, to enable users upluoad files with right permisions. I create user like this:

Code:
cp /etc/apache2/sites-available/default /etc/apache2/sites-available/<newUser>.domain.com
a2ensite <newUser>.domain.com
/etc/init.d/apache2 restart

[Code].....

So, in summary, how to make ftp to create files with permisions e.g. +rwxrwxr-x or smth more clever..

View 4 Replies View Related

Ubuntu :: Apache2 Server Configuration With MySQL And PHP5

Jul 2, 2009

I am new to linux. Currently I am using ubuntu 8.10 desktop operating system. As part of my academic project. I need to configure webserver to access from external. I installed all these using apt-get packages but when it comes to configuration. I am really not understanding. I read some documentation about this configuration but I couldn't get and fully in confused. I formatted my machine 3 times. When I tried to use localhost in firefox its working fine.

1. I need to change port from 80 to 7574. In port.conf I changed, in place of 80. I kept 7574. After that I restart and tried to access but its not working.

2. My admin provide to me. 7574 port to route it into my machine. When the user hits for suppose:
59.160.188.190:7574/project/route.html
It should goes to:
192.168.202.236:7574/project/route.html
Project folder is in /var/www
I wrote the form, to update user vehicle details. They can able to update their details in mysql server from any where.

3. Just I need the application user can access my files and update from their desktop by using path:
59.160.188.190:7574/project

How to update user details (there is no login form is directly visible to every one) in server from their desktop. What I need to configure.

View 1 Replies View Related

Software :: Apache2 Remote Access Configuration Query?

Jan 22, 2010

I have some perl Web Interfaces for some project tools running on a Linux (Ubuntu) machine, they're in the /var/www directory and I want to view them from other computers on our network.

I have backed up then edited the /etc/apache2/sites-available/default file from:

</Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Simple Apache2 Configuration File Package Could Get?

Apr 2, 2011

Anyone have a simple apache2 configuration file package I could get?I'm trying to serve a internal network site for files throughout my network, (music, video, etc). I remember when I did this with Redhat 5-6 and all I had to do was redirect the folder I wanted to share over apache and it worked. You could click on the file you wanted and it played, etc.For some reason I can't even get apache2 that ships with Ubuntu 10.04.02 to even have a "It worked!" internal site or anything. I haven't configured apache2 ever before. It seems to have grown from one or two configuration files to five or so!

View 7 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

Programming :: Bash Ambiguous Redirect - Redirect One Command Output Which Will Be Treat As A Content Of File For Another Command?

Mar 9, 2011

I am trying to grep multiple numbers from file, grep does have the -f option for that.

Code: grep -f <`seq 500 520` /etc/passwd I know this could be done with

Code: for i in `seq 500 520`; do grep "$i" /etc/passwd; done But my question is fare more behind this example. It is possible to redirect one command output which will be treat as a content of file for another command ?

View 2 Replies View Related

Debian :: Cannot Start Apache2 Up After Shutdown

Aug 16, 2010

Having issues starting my apache up again, This is what i get

Code: Starting web server: apache2[Sun Aug 15 19:19:01 2010] [warn] module auth_basic_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module authn_file_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module php5_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module alias_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module authz_groupfile_module is already loaded, skipping

[Code].....

View 1 Replies View Related

Debian :: Forwarding TCP Packets - Redirect Also The Port 443 (HTTPS)

Mar 16, 2011

This is where it starts: I have 2 networks. The first: 192.168.1.0/24 composed by the router which has access to the internet with the IP 192.168.1 and the server (who is a gateway) with the IP 192.168.1.42 The other network: 192.168.2.0/24 composed by the gateway with the IP 192.168.2.1 and the clients (on the 192.168.2.0/24 subnet). To sum up, the gateway has 2 IPs (192.168.1.4(eth0) and 192.168.2.1(eth1)). On this gateway, I have squid installed (and listening on port 3128). I also made a redirection to redirect some computers who want to access to the web (port 80) to squid (port 3128) with this command: /sbin/iptables -t nat -A PREROUTING -m mac --mac-source CLIENT_MAC -p tcp -m tcp --dport 80 -j REDIRECT --to-port 3128

At this stage, everything works fine. The clients can access the web by the proxy without "knowing". What I wanted to do, is redirect also the port 443 (HTTPS). Actually, when a client wants to access to, for example, [URL]. He cannot. So I would want to be able to redirect people (without passing by any proxy) directly to google. Like a NAT. But the problem is that I can't. The thing would be to, in the gateway, take all the packets with port 443 in destination and handle them to the router 192.168.1.1. Then, when the router sends the packet back, the gateway takes the packet and handles it to the client. I tried putting ip_forward to 1, but the problem is that all IPs and ALL PORTS are forwarded. And I just want port 443 to be forwarded.

View 4 Replies View Related

Debian :: Redirect Output Sound To Input (mic Or Line-in)

Jan 22, 2011

I want to compare the quality of a sound file (voice) before and after its transmission via a softphone (sjphone in my case). For this, i need to redirect the sound played, to the sound input (microphone or line-in).

View 1 Replies View Related

Debian :: Enabling HTAccess In Apache2 For Lenny

Aug 25, 2011

My distro is Lenny. I am struggling with trying to enable .htaccess files. I followed a ubuntu tutorial that did not work at all. How do I enable .htaccess files in all apache2 directories for Debian 5.0 Lenny?

View 1 Replies View Related

Debian :: Enable The Apache2 Module / A2enmod?

Feb 25, 2011

The default Server root of the apache2.conf is "etc/apache2". But the actual "It works!" file is in /var/www/apache2-default

I edit the apache2.conf file the Server root line then restart the scrip at /etc/init.d/apache2
But the webpage still point to "It works!"

Anyone have idea how to change the Document root?

View 3 Replies View Related







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