Server :: Sub Domain Configuration In Apache ( On Debian )?

Sep 30, 2010

i have several sites hosted on one machine (Apache 2.2 on Debian). They are configured at /etc/apache2/sites-available/ with this configuration (part of it):

RewriteMap lowercase int:tolower
RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 [C]
RewriteRule ^(([^./]+.)?site1.com)/(.*) /www/site1.com/www/root/$3 [L]
RewriteRule ^(([^./]+.)?site2.com)/(.*) /www/site2.com/www/root/$3 [L]
RewriteRule ^(([^./]+.)?site3.com)/(.*) /www/site3.com/www/root/$3 [L]
RewriteRule ^(([^./]+.)?site4.com)/(.*) /www/site4.com/www/root/$3 [L]

[Code]...

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Changing The Domain Name Of A Server?

Oct 13, 2010

I'm having problems when trying to view my web site from inside my firewall and router. The web server works fine and will resolve from IP address on the local network and port forwarding works for external connections. The problem stems from when I orignally setup the server; I left the domain name field blank when going through the installation process.

I've had a look at the man pages and had a search on Google but cannot find an answer that works. I've changed a few things in '/etc/hosts' and '/etc/networks' but when I make changes they have no effect on the problem. My web site is on a no-ip domain which is [URL]..

View 6 Replies View Related

Debian Configuration :: Accessing Wwwroot Content From Apache Server ?

Mar 15, 2011

I have server with Debian and Apache installed. Webpage content located in /var/www folder. For failserver I have Windows server 2003, which runs Mysql service thats needed for library software. And on this machine theres Inetpub/wwwroot with library webcontent. Sofar its only accessible localy. How can make Apche webserver to take content from this local server machine and show it publicly.

View 14 Replies View Related

Debian Configuration :: Both HTTP And HTTPS On Same Server? (Apache Virtual Hosts)

Oct 30, 2015

How to best manage both http and https pages on the same apache-server without conflicts. For example, if i have both 000-default.conf and 000-default-ssl.conf pointing to mydomain.com, and don't want users who visit mydomain.com without specifically type the https-prefix to be redirected to the https-page - how to handle users using browserplugins such as https-everywhere etc?

Another option would be to create a subdomain ssl.mudomain.com and have users who want to reach the ssl site to have to type ssl. I have tested several things with https everywhere enabled in my own browser, and it seems really hard to make this working the way i want, in one way or another i always end up getting redirected to the ssl-site automatically.

The reason i need this to work is because i run one site that i don't care much about SSL, that is the "official" part of that site, and i also host some things for friends and family on the SSL-part. This would not have been a problem if it wasn't that i use self-signed certificates for my ssl-site and the major user become afraid when a certificate-warning pops up in their browser and therefor leave the site.

View 2 Replies View Related

Debian Configuration :: Apache Config - Restrict The Access To Local Web Server By IP Address?

Jul 29, 2010

I want to restrict the access to my local web server by IP address. Im in a LAN (192.168.200.xx) so i have this:

[code]....

But when i try to connect from 192.168.200.4 it says i don't have permission to access

View 1 Replies View Related

Networking :: Apache Server To Establish A Domain?

Mar 24, 2010

I have Fedora 12. I just wanted to know that for demonstrating a DNS mechanism between clients and a host, how to establish a domain ? Do I have to configure an Apache server ?

View 1 Replies View Related

Server :: Apache Is Not Serving Up Correct Page For Sub Domain

Aug 12, 2010

I have a domain, dns hosted, and apache serving up pages. this all works fine, so far. i even have a cms running. my confusion starts when i try to host a different site under a subdomain, ie. sub.mydomain.com.i have two vhosts in apache. one is mydomain.com and the directory is /var/www/mydomain.but, when i try to add another vhost like webmail.mydomain.com, and i try to put the root directory in /var/www/webmail, it doesn't work. when i try to access webmail.mydomain.com, i just get the site on mydomain.com.I feel like i am just missing something really simple here, but i have tried searching around for solutions to no avail.

View 4 Replies View Related

Debian Configuration :: Lenny Or Sid As A Domain Controller?

Feb 18, 2010

Can Debian act as a Windows Domain Controller? I'm just curious because my boss recently tossed out some old servers and I grabbed them. They're good machines but I can't afford to pay $1000 for Server 2003 R2 just to setup a domain at my place and run Endpoint Protection and such. I've never used a domain setup in Linux before so I thought I'd ask and possibly try to, if Debian/Linux is capable of such a thing.

View 6 Replies View Related

Debian Configuration :: Reroute Domain Name To Local IP?

Mar 10, 2011

Backround:

I'll have 2 routers:
- ADSL-router (D-link DSL-2640U)
+ NAT on (needed as one static IP from ISP)
+ Server's IP as 192.168.X.xxx
+ router firewall port-forwards set for needed ports (21,22, 80 etc) to 192.168.0.xxx - 2nd LAN-router

[Code]....

Is there any setting/file on Debian-user-machine, where I could fix that abc.mydomainXYZ.com/defg is always in something to do with 192.168.X.xxx

View 4 Replies View Related

Debian Configuration :: Exim4 With Domain In Local Network

Sep 3, 2015

I'm trying to set up a *simple* MTA in my local network. The only thing it should be able to do is send system / daemon mails to admin@mylocaldomain. but at the moment I'm pretty much overwhelmed by everything i *should* know in order to set up this MTA

my infrastructure:

- servers:
* test01.mylocaldomain --> should send mails (with exim) to admin@mylocaldomain
* dns01.mylocaldomain --> dns-server
* mail.mylocaldomain --> mail-server (postfix / iredmail package)

I configured exim to be in "internet"-mode. now i have a variety of errors I can choose from (and a variety of solutions that i don't like ).. my test is always an email from test01.mylocaldomain:

echo "Hello World" | mail -s Testmail admin@mylocaldomain

- after running the config, i get the error: admin@mylocaldomain: all relevant MX records point to non-existent hosts --> google says, edit and udpate update-exim4.conf.conf --> dc_relay_domains='mylocaldomain' --> but this exim installation should not be a relay at all. it should only be able to SEND (to this domain), not deliver it. or do i get something wrong?

- after i added dc_relay_domains='mylocaldomain', i get --> SMTP error from remote mail server after RCPT TO:<admin@mylocaldomain>: host mail.mylocaldomain [192.168.x.x]: 550 5.1.1 <root@mylocaldomain>: Sender address rejected: User unknown in virtual mailbox table --> but i don't want to create an account on the mailserver for the SENDER...

- ...so i thought, i'd config exim with the domain "test01.mylocaldomain" (including the server name), so that the sender is clearly from another domain than the mail server handles (e.g. user@test01.mylocaldomain).. but then i get this --> SMTP error from remote mail server after RCPT TO:<admin@mylocaldomain>: host mail.mylocaldomain [192.168.x.x]: 450 4.1.8 <root@test01.mylocaldomain>: Sender address rejected: Domain not found

I really just wanna send mails in my local network.

View 0 Replies View Related

Debian Configuration :: Resolv.conf: Search Domain Ignored?

May 28, 2010

On my computer (running debian lenny), the network is configured this way (this is a minimal example):/etc/resolv.conf:search bar

View 1 Replies View Related

Debian Configuration :: Sieve Mail Filter For Domain Isn't Working

Sep 18, 2015

The first filter does not work, the second does...why?

Code: Select allelsif allof (
                body :contains ["some text", "Some Text"],
                address :domain :is "From" "amazon.de"
            )
            {
                redirect "someemail@gmx.net";
            }
elsif allof (
                body :contains ["some text", "Some Text"],
                address :domain :is "From" "yellowstone.bohlsen.lan"
            )
            {
                redirect "someemail@gmx.net";
            }

I even saved the amazon.de email from thunderbird as .eml and used it as a testmail to check the second filter

Code: Select allcat /tmp/amazon-main | mail mylocalusername@yellowstone.bohlsen.lan

that worked without problems.

the amazon email address that is sending me mails is:

Code: Select allbestellbestaetigung@amazon.de

#hostname -f
yellowstone.bohlsen.lan

View 2 Replies View Related

Debian :: Configuration - Domain Name- Host Name - Resolv.conf Areas

Feb 6, 2009

I installed debian etch, it runs and does connect to the internet fine through a linksys router...the linksys router is connected to my cable modem...now..

I just registered for a domain name (ex. mydomainname.org) with Verio....this is where I am stuck.

I installed apache 2, a web server, file server (all seem to work) I need to know what files I need to configure to have my machine actually BE that domain name.

Ex. my linksys DHCP IP addresses, the linksys gets an IP from the cable modem...my yquestion is ONCE I register a domain name with verio...how do I configure my end so it "knows" I am that respective domain name...I think I need to configure the following, but knot sure how to do it: resolv.conf, hosts, and interface?

View 3 Replies View Related

Server :: Apache Server In No Starting / Not Strating On Default Configuration File?

Mar 21, 2011

I have install Mandriva 2009 and install apache server but its not strating on default configuration file . What I should do for starting apache . i have tried /etc/init.d/httpd start but apache is not running .

View 1 Replies View Related

Debian Configuration :: Strange - Running Php5 On Debian Lenny And Apache?

Jan 18, 2010

i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi

apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>

[Code]...

View 3 Replies View Related

Ubuntu :: Networking / Setup A Domain And Directory Server Similar In Function To Windows Server W/ AD And Join Other Machines To The Domain

Aug 21, 2009

I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.

View 3 Replies View Related

Server :: Apache 2.0 Configuration On RHEL5

Aug 15, 2010

I am configuring apche on rhel5, I got default page successfully, and virtual page too, when I keep only one file index.html in virtual folder it goes well, that file opens correctly, but when I keep other html files except index.html server shows default page again.

View 2 Replies View Related

Debian Configuration :: Apache Log Files

Feb 10, 2016

I am trying to access logs Apache logs (I just installed Apache) and it is giving me permission denied errors. What permissions did you give to yourself in order to access these logs or should I just add this user(myself) to adm group?I can access other log files with no problems for example ssh logs.

View 6 Replies View Related

Debian Configuration :: Apache Authentication On 5.0.6?

Oct 8, 2010

I just installed a net-install of debian 5.0.6. with no GUI and Apache http d. Does anyone know where I can find or how to do a basic Authentication on my web server (user-name and password) I found some stuff but they include .HTpass (of Apache) etc etc, but I can't find them anywhere

View 1 Replies View Related

Server :: Mail Server Configuration - Send Mail To External Domain(internet)

Feb 22, 2011

There is an requirement, intranet people they may not have internet access but they want to send mail to external domain(internet),but in that intranet network one machine can have internet access. Is there any solution for this requirement.

View 2 Replies View Related

Server :: Apache Configuration - Pages Do Not Load

Mar 20, 2010

I have apache running on my server, and also Zoneminder, a surveillance system running on the same machine. Both services runs without glitches, and I think apache's config as well as ZM's config are fine. I am not sure I understand how apache (not to mention the whole thing zoneminder, apache, web browser...) works. Pretty hard to manage when you dont know what you are doing. Also, when I try the supposed to work zoneminder webpage in my web browser, I get nothing (a blank page), or sometimes a "Not found" error message. The latest seems to be from apache because it is the same font as the "It works!" message when I try http://localhost:80

The only bit of information I have so far is in the apache error log (/var/log/httpd/error_log) and it says:
Code:
[Sun Mar 21 00:35:14 2010] [error] [client 192.168.0.100] script '/srv/httpd/htdocs/zm.php' not found or unable to stat
[Sun Mar 21 00:46:04 2010] [error] [client 127.0.0.1] File does not exist: /srv/httpd/htdocs/zm
It seems that the "zm.php" is missing.... That would be why Apache cant find the page?

View 14 Replies View Related

Server :: Apache Tomcat Installation And Configuration

Apr 28, 2010

If any one knows about Apache-Tomcat installation.

View 5 Replies View Related

CentOS 5 Server :: Apache 2.2 Configuration With SSL Gives Ss_error_rx_record_too_long?

Aug 16, 2010

CentOS 5.5 + Apache 2.2(httpd.conf) + SSL confiuguration(ssl.conf) gives following error in FireFox.Secure connection failed.An error occured during a connection to localhost.SSL received a record that exceeded the maximum possible length.Errorcode:s_error_rx_record_too_longThe page you are trying to view cannot be shown because the authenticity of the received data could not be verified.

View 1 Replies View Related

Debian :: Windows Compatible Apache Configuration

Aug 6, 2015

Since a few month, I upgraded my configuration to an Acer Aspire E 17 laptop. I dropped the Windows 8 that was installed inside by default. Right now my hard disk looks like that :

- A Windows 10 Installation form the final released version's iso
- A Debian 8.1 Installation with Gnome 3.x as desktop

As I am a developper, I enjoy Debian, the power, and the capabilities unlocked with Linux systems. However, I still need my Windows installation for design work, making templates, etc. For now, I need to boot Debian if I want to code, and to boot Windows if I want to use some proprietary programs such as Adobe's softwares. For a lot of reasons I can explain, I don't want to use alternative like Gimp, and I don't want to run so big softwares under Wine.

So, I want to do the following : I want to create a little partition formatted in ext4 on my disk (something like 10gb ?) and make this partition running my local configuration of Apache 2. This way, I could run my webserver, with the same files both on Debian (when I need to code) and Windows (when I need to design / template and to test some stuffs into my templates files). I could mount this partition under Windows using ext2fsd program, but this way of thinking supposes there is both Apache's linux binaries and Apache's windows binaries to run and manage the server in this partition (making something like a " portable " version ?) .

View 4 Replies View Related

Debian Configuration :: Proxying Plone Behind The Apache?

Mar 3, 2011

I haven't used Plone in quite a while and am having problems getting Apache to serve it up now. I'm using the same configuration that I used for proxying Plone sites for a couple of years, but now that same configuration now gives me the following error in Apache's error log: [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.Here's the proxy modules I'm loading for troubleshooting purposes for now.

apache2ctl -t -D DUMP_MODULES | grep proxy
Syntax OK
proxy_module (shared)
proxy_ajp_module (shared)

[code]....

I've Googled this extensively and it seems most people who ran into this problem hadn't loaded the proxy_http module after upgrading to Apache 2.2 from 2.0.

Edit: BTW, I'm using Plone 4.0.3 now. I was running Plone 2.5 before. I don't see why that would be a problem though as VHM's are now built into Zope.

View 1 Replies View Related

Debian Configuration :: Migrate From Apache To Nginx

Mar 29, 2011

'm using Debian 6 (Squeeze) and I'm trying to migrate away from Apache to Nginx, but my Nginx installation seems to be showing some weird behavior.

aptitude install nginx-extras

/etc/init.d/apache2 STOP
/etc/init.d/nginx START

the configuration file /etc/nginx/global.conf syntax is ok [alert]: mmap(MAP_ANON|MAP_SHARED, 33554432) failed (28: No space left on device)
configuration file /etc/nginx/global.conf test failed

View 7 Replies View Related

General :: Apache Configuration - Nagios Not Found On Server

May 26, 2011

I have installed latest Nagios and Nagios plugins. Nagios is working properly, but when I go to the browser n write the www.server-name.com/nagios, it gives
Not Found
The requested URL /nagios/ was not found on this server. How can I tell Apache to open Nagios on adding /nagios in my URL.

View 2 Replies View Related

General :: MySQL And Apache Configuration For Busy Server?

Mar 4, 2011

I need to tune the mysql and apache server for the comparatively busy webserver. My scenario is like this.

1. The Web request is around 2000 request at a time or more.
2. Each web request will generate one mysql query.
3. The query to database is all read.
4. This server load will be at peak for around 3-4 hours after that the load will subside. As the task will be published, around 300,000 will be viewing the page.

5 quad servers are deployed, load is balanced via DNS but performance is not as expected. Centos 5.5 is used as OS. Top command shows The mysql process is around 185%!

View 3 Replies View Related

Server :: Create VirtualHost In Apache Configuration File?

Dec 16, 2010

I created VirtualHost in apache configuration file.

Code:
NameVirtualHost 77.79.13.20:80
<VirtualHost 77.79.13.20:80>
DocumentRoot "/var/www/host"
ServerName host.t2p.lt
</VirtualHost>

[Code]...

View 1 Replies View Related

Debian Configuration :: Apache Virtual Hosts And Ssl - Not Yet Supported

Mar 4, 2010

I'm having trouble implementing SSL on a AvantFax login screen. I've created the the certificates and keys and have them stored in /etc/apache2/ssl and I'm sort of stuck now. I've been following a guide but any changes to the conf files leads to errors. The system I'm using is Debian 5.0

[Code]...

View 2 Replies View Related







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