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


ADVERTISEMENT

Apache 1.3 Not Parsing Any Kind Of PHP Files

Mar 24, 2007

I using RHES 4 + cPanel.

I have MySQL 5.x, and PHP 4.4.6.

I noticed that all sites on the server, can not parse php files, tried restarting httpd, recompiling using apache update or easyapache script, and the problem stills.

index.php is at DirectoryIndex, also Addtype shows php extension active at httpd.conf.

but, when I type "php -v" from the shell, i got this message:

Code:
php: /usr/lib/libmysqlclient.so.14: version `libmysqlclient_14' not found (required by php)

I found someone with the same problem, tested the solution posted there but it doesnt seems to solve this issue.

View 9 Replies View Related

How To Limit Html Parsing To .htm, .html Files Only

Jan 10, 2007

My webserver treat ALL files with html tags inside as html files, e.g. text files or EVEN files without extension.

How to only allow .htm, .html files?

I've deactivated temporary mime magic, I also tried with some RemoveHandler, AddType lines but nothing

View 9 Replies View Related

Php Parsing In Html

Aug 10, 2008

I want to use php code in .html extension files. I tried to accomplish this through a .htaccess file, but that did not work out. I tried to add a handler through cpanel, but it does not parse the code in the .html file. I renamed the index file to index.php and works fine.

I would like to keep the .html extension.

I tried several Handlers through Cpanel which all failed to work.

Tried: AddHandler application/x-httpd-php .php .html and AddType application/x-httpd-php .php .html (with and without application/) and AddHandler server-parsed .html

View 9 Replies View Related

GLog - Server Log Parsing Project

Dec 19, 2008

My company has designed a test-run log parsing system.

Currently it supports
Code:

gLog currently supports the follow formats:

SSH(Proto 1,2)/Linux
POP3/Linux
Pure-FTP/Linux

Some logs you can currently upload are:

/var/log/secure
/var/log/auth.log
/var/log/messages
/var/log/maillog

We will be adding support for Windows Servers as well as Windows XP soon.

It will also be able to parse apache/lightd logs and check for common exploits such as: RFI/LFI/SQL.

Please upload your logs files to help this database grow.

View 3 Replies View Related

Plesk 12.x / Linux :: FastCGI Not Parsing PHP

Apr 13, 2015

I've a new installation of Plesk 12 on a VPS (Ubuntu LTS12.04) and when FastCGI is selected it downloads the PHP files instead of parsing the PHP? Where to look config wise? I've checked php short tag options and they all seem fine.I've set up a test subscription to display the error here: URL....

View 5 Replies View Related

Plesk 12.x / Linux :: Fail2Ban - File Contains Parsing Errors

Sep 18, 2014

When I click on the "Change settings" button for any of my jails a page opens showing the following error message:

Messagef2bmng failed: ERROR:f2bmng:File contains parsing errors: /etc/fail2ban/action.d/iptables-multiport-log.conf [line 24]: 'iptables -N fail2ban-<name>-log
' [line 26]: 'iptables -A fail2ban-<name>-log -j DROP
' [line 33]: 'iptables -F fail2ban-<name>
' [line 34]: 'iptables -F fail2ban-<name>-log
' [line 35]: 'iptables -X fail2ban-<name>
' [line 36]: 'iptables -X fail2ban-<name>-log
'
FileAgent.php
Line243
TypePleskUtilExceptionClick to expand...

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

Hide Files/directories On Apache

Jan 20, 2008

how can i hide all files and directories in public_html so when using apps suck Flash Get Site Explorere and similar software it will not show any file or directories in public_html.

View 5 Replies View Related

Hacker Detection On Apache Log Files

Jul 2, 2009

I have a client that is certain someone is trying to hack her web-portal. I need to set up something that will alert me on suspicious activity on the server. For example someone fiddling with requests trying to make SQL / shell .. injection and similar threats.

Does any tool (for example bash script with grep) exist that would parse the raw apache logs and report if something is suspicious. Apache logs don't show the POST data so I am talking to admin to setup dump_io apache mod that enables this.

Or am I going into wrong direction here and there is whole another way to do this? I searched the web and forums for anything like this and didn't find anything.

View 4 Replies View Related

Apache Error Log: Log Files That Exist

Jul 4, 2007

I have moved my sites from old server with Apache 1.3 to new one with Apache 2.2.4. Since that time, the error log is full of these lines:

Code:
[Wed Jul 04 05:36:32 2007] [error] [client 212.47.9.194] File does not exist: /home/domain/public_html/russia
[Wed Jul 04 05:36:39 2007] [error] [client 212.47.9.194] File does not exist: /home/domain/public_html/russia
[Wed Jul 04 05:36:45 2007] [error] [client 213.192.18.2] File does not exist: /home/domain/public_html/italy
[Wed Jul 04 05:36:57 2007] [error] [client 83.8.104.181] File does not exist: /home/domain/public_html/mexico
The access logs show even more accesses, so sometimes the same page is ok, sometimes it is logged here. The strange thing is that these files (pages) exist! They are accessible through the browser without any problem.

Do you have any idea where could be the problem? It would helped me lot, I am unable to find any real problem now, when error log is full of these.

My OS is Ubuntu 6.06. I use mod_rewrite through .htaccess. I can provide list of apache modules, if it helps.

View 3 Replies View Related

How To Avoid That Files Belong To Apache

Oct 6, 2007

I'm moving to a dedicated server for first time in my life and I have some questions that I want to share with you all.

I have run many scripts like joomla, vbulletin, etc, and I have found that when I install a module or template or when I upload images using this scripts, the permisions of this files are wrongly assigned as they belong to apache:apache instead of myuser:mygroup.

The problem is that as my new server is going to be fully managed, I am not going to have root access to chmod this files to the right myuser:mygroup and as a consecuence I'm going to be unable to dmove or delete them usinf my ftp or shh user acount.

Hope you can help me this this issue. I need to tell my hosting company what I want to do to avoid this way of working but I have no idea of how can this be solved

View 1 Replies View Related

Apache :: Making All Necessary Changes To Conf Files

May 28, 2014

I recently upgraded my Apache 2.2.22 installation on Win 8.1 to 2.4.9, making all necessary changes (I believe) to the conf files. I am puzzled that two files in the format authdigest_shm.xxxx now appear in my logs directory when the server is restarted. (Edit: there is also no httpd.pid file)I assume this is to do with running digest authentication, but is a new phenomenon since the upgrade.what conf file setting(s) have I screwed up?!

View 2 Replies View Related

Apache :: Prevent Access To Files

Mar 6, 2014

When a user enters the whole url to a file on the webserver he/she can view this file. I want to prevent this and only allow access to the files from within the application (under apache). How can I do that? I already tried:

<Directory /var/www/html/folder/files>
order deny,allow
allow from localhost
</Directory>

This works BUT the file also isn't viewable from within the application anymore.

View 1 Replies View Related

Apache :: MP4 Files Won't Play On IPhones

Oct 13, 2014

I own a VPS server running CentOS with Cpanel WHM where no one can watch videos i post on any apple product.

The file plays fine on iphones when watching it on that website. BUT if i download that mp4 file and upload it to my own server, anyone with any iphone cant watch that video on my own server. I do now modify the file in any way. It plays fine on a PC or android phone / table but not Ipad and iphone...

Here is an example of hosting the above file on my server and linking it externally on my server. [URL] ....

View 1 Replies View Related

Apache :: Tomcat - Timing Out On Web Files

Dec 15, 2013

First time configuring Apache (2.2 w/ mod_jk) and when running locally (192.168.1.x), no problem.

When configuring from a DynDns through my UVerse router, I get several JS and CSS 'not found' and of course bad rendered site.

View 5 Replies View Related

Apache :: A Way To Upload And Manage Files

Jan 25, 2014

I have a apache server, and i'd love to find a way to be able to upload files to my server, allowing me to view the files on my server or in a folder, allowing me to download these files, edit them and re-upload them, replacing them such as files like word documents. I want it to be web-based as i'll be using it for school work, so i can upload them.

View 2 Replies View Related

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

Apache :: Multiple Readme Files?

Mar 7, 2014

I very much like the "readme.txt" that Apache appends to the directory listings. That is, when a browser GETs a directory, the text in that file is put underneath the list of files therein.

View 1 Replies View Related

Apache :: Using Alias With HTAccess Files

Feb 20, 2013

Apache httpd Users mailing list, but nobody there has responded in several days. I'm using mod_alias to map URLs to directories that are outside of Apache's DocumentRoot. However, it seems that .htaccess files are being ignored in these directories.

View 6 Replies View Related

Apache :: How To Display SSL / TLS Errors In Log Files

Feb 28, 2014

I have installed Apache httpd and setup a SSL/TLS connection. SSL/TLS is working without a problem. I can clearly see httpS address in browser.

What I have found out that if browser gets some SSL/TLS error like trying to establish SSL/TLS connection with old protocol and web server refuses connection there is no error in SSL/TLS log recorded. I would like that every SSL/TLS attempt with error is recorded in ssl_error.log file. How to define settings in Apache config files to enable SSL/TLS error logging?

View 1 Replies View Related

Apache Treats Files As Folders

Mar 5, 2014

I have just discovered in my access log some people accessing urls like this:

domain.com/index.php/index.php/ or even
domain.com/index.php/index.php/index.php

I have opened those links in browser and they worked. Why?

My .htaccess is empty and I have no 'index.php' folder. But I do have 'index.php' file.

I think this is happening to most php sites, not just mine. This is a random example:

[URL] ....

My question is how to force apache to return 404 error when such url is accessed?

View 1 Replies View Related

Unable To Parse Zone: Error While Parsing Zonedata For Xyz.com: Syntax Error

Jul 23, 2009

While clicking on "Edit DNS" in WHM

I am getting this error

Unable to parse zone: Error while parsing zonedata for xyz.com: syntax error, line 25 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.

View 6 Replies View Related

Find Out Which .conf Files Apache 2.2 Is Loading

Apr 23, 2009

Is there a way to get Apache to tell me which .conf file it is loading at start-up?

There's a box that's misbehaving and Apache is running on port 80 and 8080 on the box... but we can't locate *why* it's running on port 8080. I can't find any Listen 8080 statement in the typical config files. If I knew which config files it was loading, I could go through all of the files in more detail.

View 4 Replies View Related

Apache 2.2 / Php 5 Update: Calling Files Behind Root

May 24, 2008

With my old Apache 1 and PHP4 I was able to pull files from behind the public_html using a php file without any problems. Is there a reason why this does not work with Apache 2.2 and PHP5?

the piece of coding below is what grabs the image. Right now i'm just seeing a red X for each image.

PHP Code:

        if ($private == 1) {
        header("Content-type: image/jpeg"); 
        $im = imagecreatefromjpeg('/home/site1/private/' . $type . '/' . $mid . '-' . $iid . '.jpg'); 
        imagecolorallocate($im, 255, 255, 255);
        imagejpeg($im); 
        imagedestroy($im);
        } 

View 1 Replies View Related

Apache :: Files In Server Can Be Accessed Only Once At A Time

Mar 17, 2013

I have a tiny "webpage" in an Apache server running on my computer. I've got for it this .htaccess file: URL...I have written it by googling,.(I don't really know very much about Apache HTTPD, but my Java suite requires this stuff, so here I am). Supposedly the first paragraph is to avoid Google Chrome from caching my files and the second part (the Order sentences) are to allow anyone to view only those kinds of files (which is otherwise let them see everything but folder roots.

And here is the httpd.conf, which I've modified almost only to change the listen port, the server name, and to replace the AllowOverride None into AllowOverride All so that .htaccess is actually used (I've deleted the comments for readability).URL....

I had never heard of something similar, "I can only load one instance of each file". In explanation, the only html file there's, runs from time to time a PHP script. Let's say I run it on localhost for example. Then everything is going fine. But I open a new tab, and load the same page (while the another one is yet open), and I'll get a 412 HTTP error. Similar thing happens if I try to load the webpage from another device. And, with my little experience with Apache HTTPD, I guess it's because of this .htaccess or httpd.conf files. Why does this happen or how can I solve it (either it be or not related to one of these files, I'll do whatever is needed)?

Apache 2.2.22 which can be found [link URL....]here[/link] in Windows 8 x86.

View 6 Replies View Related

Apache :: Unable To Open Or Move Log Files

Dec 4, 2012

We have three virtual hosts on our Apache 2.2 installation on Windows Server 2003. For some reason, I'm unable to open log files (error.log and each virtual hosts-specific log), even though I have full administrator rights. (The log folder is full access to admins.) Every time I try to open the file or even copy it to another location, it just says "Access Denied." I temporarily solved the issue for one of the logs by adding BufferedLogs On

View 1 Replies View Related

Apache :: Recognizing Files Coded In Python

Jan 31, 2015

I have installed mod_python and the mods-enabled directory in the Apache2 directory looks correct (links to the available directory and the .load file), but I can't get Apache2 to process Python coded files.

I am missing something, but don't know what.

View 4 Replies View Related







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