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


ADVERTISEMENT

Debian Configuration :: Apache Is Working - Can't Read Php Files

Aug 28, 2011

This is what writes when I enter localhost in browser and press Enter.

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

http://localhost/~david/baby.php

Not Found

The requested URL /~david/baby.php was not found on this server.

Apache/2.2.19 (Debian) Server at localhost Port 80

So , I copied file directly into /var/www folder, entered /localhost/baby.php and get this :

Server error The website encountered an error while retrieving http://localhost/baby.php. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

So , it's not 'bout path or server .. or about php file (I tried few). I don't know what to do

View 8 Replies View Related

Debian Configuration :: Apache - Permission Denied On Files Uploaded Ftp?

Apr 12, 2011

I have an apache installation with /var/www/bob as the document root and the only site served up. I have bob as the directory's owner, and he is able to upload his files to that folder via ftp (vsftpd on the server). When a browser tries to access the pages, it simply gets a 403 forbidden. The problem occurs when apache2 tries to access the files bob uploads. The www-data user (Apache daemon) gets permission denied when I try to cat bob's files in the shell, so it's purely a permissions issue. What I can't figure out is how to give the Apache daemon the ability to read bob's files while also making certain it does not have the ability to modify any of them.

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

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

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

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 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

Debian Configuration :: Apache - Host-header From Requests Are Ignored

Oct 16, 2010

my server into the public internet and must have my webserver [2.2.9 (Debian)] act secure. But this does not look very easy [I am searching, reading and working on it already the whole day ]. I read the apache docs, but there is a lot of stuff, which is different in Debian [lenny, 5.0.6]. Apache ignores the host-header given by the browser: [URL] are all served, but should be blocked. I new new to apachy, but on my IIS this works as expected. All browsers act equal [so no browser header problem].I configured two VirtualHosts, an excerpt:

NameVirtualHost hugo:80
<VirtualHost hugo:80>
DocumentRoot /usr/share/doc

[code]....

The I go to my hosts file on any box, and add hugo's ip-address under the new name x. Then, x is served, although the host-header in apache Every user coming from the internet could make the same!

View 13 Replies View Related

Debian Configuration :: Awstats Access To Apache Logs?

Mar 10, 2011

In a squeeze box, I installed awstats and it's working like a charm. Its cron job update the awstats database every 10 minutes (as it runs as root). But I would like to be able to update the statistics from the browser as well. So I setup everything as required and I gave "read" access to "others" to every apache log file. Now, a couple of questions came to my mind:

1. Am I compromising server's security giving "read" access to "others" to apache log files?

2. Instead of giving "read" access to "others", I could add www-data user to adm group (as apache log files are owned by root:adm and permissions are rw-r----). Is this more secure than giving "read" access to "others"? 3. If the option would be giving "read" access to "others" at the end, a log file would be owned by root:adm and its permissions be rw-r--r--. As apache rotates its log files, when Apache create a new log file, does it preserve the permissions (rw-r--r--) or create it with the default permissions (rw-r-----)?

View 1 Replies View Related

Debian Configuration :: Apache Working But No Outside Access / Sort It?

May 23, 2011

Having some memory loss i think (in my head not my pc). I have set up apache before , then changed to dsl in the last week and cant seem to get this new modem/router to work. i can get the loopback address to work, as well as the network ip. can NOT get my other machines to hit the server on the network .
also no connection from outside the network from port 80. my modem is a motorola (att) ,apache2 on my toshiba laptop, amd x2, 3gigs ram.

View 9 Replies View Related

Debian Configuration :: Apache - Setting Up Squeeze Test Box

Jul 16, 2011

Setting up my Squeeze test box, I can't seem to get APache2 to find index.html. It keeps coming up with the initial "It works!" page.

On my Squeeze server, the /etc/apache2/httpd.conf file contains this line:
DocumentRoot /home/www_local
and that box serves the website perfectly.

On the test box, I created the /home/www_local directory and put an index.html file in it, then populated /etc/apache2/httpd.conf with exactly the same DocumentRoot line and restarted Apache. Still the same result -- Apache isn't finding my index.html file. I have grep'ed all the files in /etc/apache2 and /etc/apache2/conf.d looking for 'DocumentRoot' and it's not in any of them.

View 2 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 :: Apache Directory Alias Leaking Into Virtual Hosts

Sep 14, 2015

I don't know if this should be a followup to my prior topic [URL] ....

Each of the pieces I've installed all have an "Alias" directive in the conf file to link the directory where they live to be present on my server. For instance, DotClear lives in /usr/share/dotclear/web/ and there is a directive

Code: Select allAlias /dotclear /usr/share/dotclear/web
that directs http://myserver/dotclear to that site.

Now, I've set up VirtualHost entries for my DotClear and Owncloud with their own hostnames.

Code: Select all<VirtualHost *:443>
   ServerName          myowndotclear.com
   ServerAlias         www.myowndotclear.com
   DocumentRoot        /usr/share/dotclear/web

[Code] ....

Something similar for Owncloud.

The problem is when I go to [URL] ...., I get to my mythweb site.

This is not so good. So, for the sites that have their own hostnames, I removed the "Alias ..." directive. Of course, now I can't get to the hosts by going to the primary site which is probably fine, but I also still get my mythweb since that doesn't have it's own virtualhost entry.

This doesn't seem like correct behavior. Is there a better place to put the "Alias ..." directive so that it only works from one site and not all of them?

I am also thinking I should just link the directories into /var/www/html, but I'm not sure that's a better solution.

View 2 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 Reverse Proxy - No Support For Common Database

Apr 14, 2010

I installed apache2 and mysql database on a Debian system. It is using reverse proxy on apache to redirect requests to apache2 running on any machine which is on Xen server as a Virtual host. I tried to install Drupal on it. Every thing went fine till I pointed my browser to:
http://IP[/url] of LAN where Drupal was installed/drupal
then I see an installation page of Drupal which welcomes me. I click install in English then it can not proceed to connect with database. Database configuration: Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that Drupal supports.

I have created a database and username for Drupal separately. What should I check to. There is one more error
http://Public IP/some location/
Is showing me contents of Document Root but there is a folder named drupal on it. When I click on it I get error. Not Found. The requested URL /drupal/ was not found on this server. Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch proxy_html/3.0.0 Server at

What things should I check in for? I am also getting errors like:
- Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName on individual DomU's what should I check in. and on Dom0 when restarting apache2 I get following error.
- Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Wed Apr 14 15:23:05 2010] [warn] NameVirtualHost *:80 has no VirtualHosts

View 1 Replies View Related

Debian Configuration :: Apache - Cannot Access Webserver From Home It's Available Only Within Local Network

Aug 21, 2010

I have installed apache php and mysql on my pc during debian installation... some of my friends complain they cannot access my webserver from their home and it's available only within my local network... Please help regarding this...

View 6 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

Debian :: Apache Downloading PHP Files Instead Of Rendering

Aug 4, 2015

I have some scripts that need to use a newer version of PHP, Im running Debian 6 which has PHP 5.3.3 support, I found I could install php 5.4 using [URL]. This worked, it updated my PHP to a newer version, the only issue is that when the install completed apache now downloads the PHP file instead of rendering it.

Im guessing this has something to do with the Apache configs, but I don't know what to do.

Code:

Select alltom@vps:~$ dpkg --list |grep -E '(apache)|(php5-)'
ii  apache2                                  2.2.16-6+squeeze12           Apache   
HTTP Server metapackage
ii  apache2-doc                              2.2.16-6+squeeze12           Apache                                                                                                                   
[Code] ...

View 1 Replies View Related

Debian Configuration :: Streaming From Debian-hosted Files?

Nov 16, 2010

I have a RAID5 array created with mdadm from four 1.5 TB WD15EADS formatted XFS and shared with samba. I recently upgraded it (fresh install to a SSD) from an old -stable 2.6.18-6 to a fresh -lenny 2.6.26-2, and since the upgrade, I've noticed I can't stream high bandwidth video off of the array over samba anymore. The video stutters like it's out of bandwidthI've tried using mpc-hc64 in Windows 7 and my newly arrived Boxee Box.

Everything is wired gigabit ethernet (Boxee Box isn't, but the other two and the switch all three run through are), and I can copy the file at 30-35 MB/s to my desktop, which is significantly more bandwidth than streaming a video consumes. Looking at CPU usage on my desktop and the debian file server, there is plenty of headroom on both. Lower bandwidth files play perfectly fine, either SD or smaller HD.

Since I installed to a new boot drive, all the other hardware is the same, and the array of data is independent of the OS installation, I can boot off the old system, and I can verify that it indeed does not have the streaming problem. Everything plays perfectly smoothly like you'd expect. It even appears to copy slightly faster (35-40 MB/s versus 30-35 MB/s).Is there something in the configuration of the system or samba that I can change?

View 1 Replies View Related

Debian :: Backing Up Configuration Files Using BAK

Mar 30, 2014

Before I used to make a copy of configuration file and give the end of the file name as 'something.conf.bkp' . Later realized it was a mistake. The correct wording should end in .bak and not bkp .

As per (See apt.conf(5) manpage, section DIRECTORIES, last paragraph.)

The Ignore-Files-Silently list can be used to specify which files APT should silently ignore while parsing the files in the fragment directories. Per default a file which end with .disabled, ~, .bak or .dpkg-[a-z]+ is silently ignored. As seen in the last default value these patterns can use regular expression syntax.

View 7 Replies View Related

Debian Configuration :: Opening Files Over LAN

Jun 23, 2014

I just moved from Ubuntu to Debian, managed to get the WiFi printer working, installed flash player etc. Just seemed to have trouble opening files over the LAN, is there a firewall setting I need to set. Files work fine if i copy them to the desktop and open them from there but not over the LAN. I have looked on the web with no luck.

View 9 Replies View Related

Debian Configuration :: Replacement For HAL/FDI Files?

Jan 31, 2010

I run a Squeeze system and have recently updated various packages. As far as I can tell one of the changes has deprecated HAL FDI files (used for, among other things, configuring various input devices). I am hence wondering how one should go about configuring such devices --- without having to resort to an xorg.conf file.The two devices in question, an TouchPad and TrackPoint can both be configured via XInput when I log-in, however, it is somewhat tedious. Writing a log-on script to do this also seems rather hacky.So my question is: what is the most elegant way of configuring XInput devices?

View 7 Replies View Related

Debian :: Configuration Files Randomly Become Unwritable

Aug 15, 2011

Occasionally, with no warning and no cause that I've been able to see, everything that I try to open will produce an error message saying that an associated configuration file For example, I try to open dolphin, and I get a message saying: 'Configuration file "/home/<user>/.kde/share/config/dolphinrc" not writable. Please contact your system administrator.' I get similar ones for konsole, open office, and everything else I try to open, except firefox, which I installed by hand. Konsole still works after this error, but dolphin and open office do not. This never happens directly after startup (it usually happens about an hour after), and always happens to everything - I never get this message for just one program, while everything else works fine. I've tried deleting /home/<user>/.kde/ to 'reset' kde, but that hasn't helped. In case it helps, I'm running Squeeze (amd64) with kde 4.4.5.

View 12 Replies View Related

Debian Configuration :: Using Spamc With Multiple Files?

Jul 27, 2011

I have several mails which I want to scan by using spamc and thats the problem.

It works when I use just one mail message as a parameter of spamc. E.g. spamc -c < 17383. BUT when I want to pass several messages on spamc e.g. spamc -c < 17383. 18974.(spamc scan just the first message) OR when I use a whole directory e.g. spamc < ./test/* it doesnt work. (output: -bash: ./test/*: ambiguous redirect)

how to pass multiple files in command line on spamc? I know - I can create a script, but I would be glad if it worked for testing in CLI (command above).

View 1 Replies View Related

Debian Configuration :: Rsync - Not Creating Files On Host

Aug 2, 2015

Having an issue with rsync

I launch the following

Code: Select allrsync -avz --remove-source-files --log-file=/home/pi/rsync.log --temp-dir
=/data/temp --partial --progress -e "ssh" 192.168.1.100://data/ext/downloads/File.ext /data/

Basically I download to main PC and rsync to my pi as the pi has a fraction of the speed for some reason when downloading form a source outside of my network.

The first few files will sync fine. Then I start getting errors like this

Code: Select allrsync: rename "/data/temp/.File.ext.y1716M" -> "File.ext": No such file or directory
(2)

The directory on the host has user and group ownership as pi. Rsync has been setup to login without a password.

View 0 Replies View Related

Debian Configuration :: Renaming Files In /dev//radio0 As /dev/radio

Sep 16, 2010

I have a TV/radio tuner and I installed the gkrellm-radio plugin. The plugin works fine, but, it only works with /dev/radio. I'm not sure if its safe to rename files so I just create a symlink of /dev/radio0 as /dev/radio.

It gets pretty annoying to me to have to create a symlink every time I start up my computer so I can listen to the radio. Is there a way to get linux to permanently name "/dev/radio0" as "/dev/radio"?

View 4 Replies View Related

Debian Configuration :: Updating - Can't Files Fetch Due To A 404 Error

Oct 3, 2010

I was trying to update my debian lenny and aptitude gives a whole lot of errors about files it can't fetch due to a 404 error. Aparently de files i need are no longer available in the places they where supposed to on de Debian-servers.It concerns 35 packages that can't be updated. If nescessary I can post all the package-names and versions (old and updated). I'll give the two first as examples :

[Code]....

View 3 Replies View Related







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