Apache :: Conversion Of Internal Links To Correct URL

Aug 22, 2014

A dynamic php+mySQL site was converted to a static html by mirroring (wget). The result was that each page became an html file named some-page.html

View 4 Replies


ADVERTISEMENT

FFmpeg Server-side Conversion Without The Php Script, And Lossless Conversion Quality

Aug 16, 2007

Prior to installing FFmpeg and its dependencies, I want to know about FFmpeg server-side conversion without the php script. Does it require those php scripts in the first place or I can just run an ssh command?

Also, does this FFmpeg have a configuration file in which you can set the quality of the converted .fla videos?

How about a lossless quality conversion and keeping the size proportion of the video the same?

Meaning, for example, from .avi to .fla without sacrificing/loosing the quality much or noticeably.

View 2 Replies View Related

Apache :: Can Have HTAccess File Which Create Links

Mar 16, 2013

In my personal website at URL.... I have the top like 'index.php?pg=profile', 'index.php?pg=home' or 'index.php' (without any querystring), 'index.php?pg=diary' etc. I am looking to see if I can have .htaccess file which can make me create links like

index.php/
index.php
index.php/home
index.php/profile
index.php/diary

write an .htaccess for the same?

View 1 Replies View Related

Apache :: 2.4.3 Not Generating Correct URLs?

Aug 22, 2013

We're running Apache 2.4.3 on Slackware 14:

LCMlinux ~> uname -a
Linux LCMlinux 3.2.29-smp #2 SMP Mon Sep 17 13:16:43 CDT 2012 i686
LCMlinux ~> httpd -v
Server version: Apache/2.4.3 (Unix)
Server built: Aug 23 2012 11:07:26
LCMlinux ~>

We are using this both for the Trac issue-tracking application and for a small, simple internal mirror web site. Trac is working perfectly; the web site works if exact URLs are provided (as in <a href=...>

View 7 Replies View Related

Mailman / Apache Configurations Not Correct

Apr 16, 2015

I have two problems regarding Mailman Mailing Lists.

1) The Mailman Interface is usually located under lists.domain.tld/mailman (I changed the config from /cgi-bin/mailman/ to just /mailman/), but it seems the apache confs for this subdomain are not applied – I only see the servers default page when visiting this URL. domain.tld/mailman works, though. It would be great if lists.domain.tld/mailman would actually work and domain.tld/mailman wouldn't work.

How do I change/repair the configurations properly? I've installed the newest MU and already to reinstall mailman.

2) I get an Internal Server Error when visiting the domain.tld/mailman Interface. Reason is mod_suexec, which I need to disable for domain.tld/mailman, but where and how? All the vhost configurations are created automatically.

I could imagine this is related to my first problem and the mod_suexec thing is properly configured in the lists-subdomain config.

View 3 Replies View Related

Apache :: Setup Dynamic Content Configuration - Correct Headers

Aug 28, 2014

I am trying to setup dynamic content configuration in apache 2.2 httpd conf. Here is the configuration and couple test cases:

CONF:
<FilesMatch ".(js|css|gif|jpg|jpeg|png)$">
Header set Cache-Control "no-cache, no-store, max-age=0, must-revalidate"
</FilesMatch>

TEST 1:
Without <FilesMatch> directive, the headers are set to all requested content as it should. This includes content served from apache server and content from a separate application server.

TEST 2:
If I use the above configuration example, I can see that static content comes with correct headers only

View 1 Replies View Related

Apache :: Capturing Internal Apache Errors Return Custom HTTP Status

Nov 15, 2013

Server Version: Apache/2.2.22 (Unix)

On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.

Here's the most trivial example I can come up with that reproduces the problem for us:

POST /some_valid_alias HTTP/1.1
Host: example.org
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769
-----------------------------41184676334

In addition to the 500 error in the access log, we see the corresponding error in the error log:

(70014)End of file found: Error reading request entity data

Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.

The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.

Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.

So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):

RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]

But this won't work for all our scripts, because in some cases we do want to permit POST.

View 2 Replies View Related

Apache :: Internal URL Rewrite Across Subdomains

Jun 8, 2013

I want to rewrite across subdomains, e.g. requests for sub1.mydomain.com/foo.htm -> www.mydomain.com/foo.htm. I can do

this with something like:

Code:
RewriteCond %{HTTP_HOST} ^sub[0-9].
RewriteRule (.*) http://www.mydomain.com/$1 [R=303,L]

I want to make it an internal rewrite though, not an external redirect. If I remove the [R=303] I still end up with a redirect (a 302). I assume mod_rewrite is forcing an external redirect because it's to a different [sub]domain.

Is there any way I can overcome this and make the change internal?

View 2 Replies View Related

Apache :: Setting Up Internal Webpages

Oct 30, 2014

This is just an internal server setup to learn web programming and looking to create a environment close as possible to the real world setup. I'm using xxxx.dlinkddns.com

View 1 Replies View Related

Apache :: Excessive Internal Redirects Error

Nov 4, 2013

What was causing this:

I installed a url shortner script but the link that the script creates takes you to a server error page.

I viewed the logs and I get this error over and over again.

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

this is what is in my htaccess file

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

View 1 Replies View Related

Apache :: Internal Server Redirection Vhost

May 26, 2013

I have a Public [82.x.x.x] and Private Apache Servers [192.168.20.100], and wish to redirect a series of subdomain requests i.e. for joomla.example.com or moodle.example.com on 82.x.x.x => joomla.example.com or moodle.example.com on 192.168.20.100.

joomla.example.com [82.x.x.x] returns joomla.example.com [192.168.20.100]

moodle.example.com [82.x.x.x] however returns joomla.example.com [192.168.20.100]

VHOST Configuration on [82.x.x.x]:

<VirtualHost *:80>
ServerName joomla.example.com
RewriteEngine On
RewriteRule ^(.*)$ http://192.168.20.100$1 [P]
</VirtualHost>
<VirtualHost *:80>
ServerName moodle.example.com
RewriteEngine On
RewriteRule ^(.*)$ http://192.168.20.100$1 [P]
</VirtualHost>

----------

VHOST Configuration on [192.168.20.100]

<VirtualHost *:80>
# joomla.example.com>
ServerName joomla.example.com
ServerAlias joomla.example.com
DocumentRoot /var/www/joomla/
ServerRoot /var/www/joomla/
ScriptAlias /cgi-bin/ /var/www/~cgi-bin/joomla/
ErrorLog /var/www/~log/joomla/error.log
CustomLog /var/www/~log/joomla/access.log combined
ErrorDocument 404 /404.htm

[Code] ......

View 2 Replies View Related

Apache :: Internal Server Error 500 After Moving From 2.2 To 2.4

Jun 3, 2014

I'm moving a site (Windows XP) from Apache 2.2 to the Apache Lounge server 2.4.9 under Windows 7.I exchanged httpd.exe and all modules and the server runs fine when I type localhost into the URL field of Firefox.But as soon as I type in the site name which I have assigned a VirtualHost to, I'm getting an Error 500 (Internal Server Error).

View 1 Replies View Related

Apache :: 500 Internal Server Error After Update

Jan 17, 2015

I've been running my website for years and now yesterday I update 2 files, the same way I always do, and when I try to load them in a browser I get:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

The log says this:

[my ip] - - [17/Jan/2015:00:07:55 -0500] "GET /site/index.php HTTP/1.1" 404 - "-" [my agent string]

Permissions are 644, same as for the other files. I haven't encountered anything like this before and am totally stumped.

View 1 Replies View Related

Apache :: ODBC - Empty Username Causes Internal Server Error

Sep 29, 2014

I am using user authentication with the following components:

Apache/2.4.10 (Win32) + mod_auth_basic + mod_authn_dbd + mod_dbd + ODBC Driver + Microsoft SQL Server 2008(SP3).

It works fine except when I do not provide any username when browser asks for username and password. In this case I receive the "Internal Server Error" as the response instead of "Unauthorized" response.

The most interesting part of the error.log is:

[Sat Sep 27 21:23:17.639860 2014] [authn_dbd:error] [pid 1208:tid 1636] [client 127.0.0.1:1363] AH01656: Query execution error looking up '' in database [[dbd_odbc] SQLBindParameter returned SQL_ERROR (-1) at apr_dbd_odbc.c:604 [Microsoft][ODBC SQL Server Driver]Invalid precision value HY104 ]

The AuthDBDUserPWQuery directive in my httpd.conf is:

AuthDBDUserPWQuery "SELECT password FROM member WHERE CONVERT(VARCHAR(10), member_Index) = %s"

And the member_Index column in the database is smallint.

View 5 Replies View Related

Stopping An Ffmpeg Conversion

Sep 4, 2008

I have ffmpeg installed on a webserver. If I enter the command to begin a conversion process, or the command is sent through PHP via exec(), it keeps going until it finishes or runs into an error.

Is there a way to cancel a conversion process after it's been started either through the command line or via PHP exec()?

View 4 Replies View Related

Port Speed Conversion

Feb 14, 2007

how to translate this into what would be needed in port speed to cover this server if converted to colo, in Mbps ? Is it 4.5?

--------------------------------------------------------------------------------
The statistics were last updated Wednesday, 14 February 2007 at 10:50,
at which time 'XXXXXXXXX' had been up for 362 days, 17:47:15.
Last 30 days usage (Metered 95%): 4670.57 kb/sec
Last 30 days usage (Metered 95%): 1477797.53 MBytes
Total Utilization ( Last 30 days ): [In 637187 MBytes] [Out 65140 MBytes]

Max Speed: 12.5 MBytes/s
---------------------------------------------------------------------------------

Also, is there a real need to be on a burstable connection, or are flat rates OK most of the time? Just looking for the advantages and disadvantages of it.

View 4 Replies View Related

Ffmpeg High-quality Conversion

Aug 16, 2008

I want to do a "near-lossless" video conversion, if that is even possible, in keeping the proportion of the original video. Veoh seems a little bit better / at a higher quality than youtube, and I want to achieve higher quality than that. Literally speaking, I want the converted flv video's quality to be as close as the original video. What ffmpeg command exactly do I need to achieve this? I currently use ClipShare and is experimenting with Ostube for the php script. The default "high-quality" setting for both scripts are not that good of a quality either, with choppy images.

View 4 Replies View Related

Video Conversion As A Service, Big Time

Feb 22, 2008

Nirvanix offers "Image manipulation such as image resizing, thumbnail generation, and rotating, video frame extraction, video conversion to Flash video". Is there any competitor? I guess building one on top of S3/EC2/SQS from Amazon would be a no brainer.

View 5 Replies View Related

Space To Dash Conversion Rewrite

Oct 30, 2008

to create an .htaccess rewrite so that all urls in a given directory have their files rewritten so that the %20 spaces are converted to dashes. I'd also like to convert my upper case words to lower case, to stay consistent with other conventions we use in the url.

/directory/Example%20Link.aspx
to
/directory/example-link.aspx

View 3 Replies View Related

Plesk 12.x / Windows :: Error - Failed To Perform IDN Conversion From UTF-8 Name 0

May 7, 2015

I am using the plesk 12 (Web Host Edition) with admin account. I need to configure file sharing in the plesk.

I referred this LINK

I filled up all required field in File Sharing Settings and Click "OK" button.

This error message,

(Error: Failed to perform IDN conversion from UTF-8 name '0') is shown.

View 1 Replies View Related

X264 Video Conversion Cluster- (To Reduce Encoding Time)

Oct 31, 2008

I would like to know if there's any way we could reduce "conversion times" for videos while converting them with "mencoder" and "x264 codec"?

Is it possible to cluster 2-3 or more servers (Quad core/8GB RAM) so that I can reduce the conversion timings effectively?

The original video sizes are around 500-700MB on an average and I'd like to convert them using mencoder in x264 codec @ 500Kbps bitrate and 2pass settings.

Ofcourse it'll take atleast 1-2hours to encode 1 such video at these settings on a 'single' such server, so is there a way to reduce the conversion times to around 10-15minutes/video by using "parallel encoding" with x264 codec?P.S: I know how to form a cluster, using beowulf/rocks, etc...what I need help with is 'using' the cluster with x264 codec

View 11 Replies View Related

"Apache/2.2.3 (CentOS) (internal Dummy Connection)"

Apr 8, 2009

i read access_log and see a lot of

Code:

::1 - - [08/Apr/2009:02:19:11 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:15 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:18 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:19 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:20 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:21 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:22 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:33 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"

Then my vps use so much memory now and my site load slowly.

View 1 Replies View Related

Apache :: Configuration Error Causing Internal Server Error

Oct 10, 2012

- Apache version : 2.2.21
- operating system : MAC OS Lion Server
- mod_ssl : 2.2.21

I have a certain area on a homepage which is protected by an .htaccess file. The code of the .htaccess file is the following:

Code:

AuthType Digest
AuthName "Password Required"
Options +Indexes
# code for HTTPS
RewriteEngine On
RewriteCond
%{SERVER_PORT} !^443$
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI}
Require valid-user

Usually everything has been working fine with this .htaccess-file until today. There hasn't been any change on the system.

If you click on the hyperlink to the restricted area the login window appears where you need to type in your username and a password. After typing in these data the following message appears in the browser:

500 Internal Server Error

The server encountered an internal error or
misconfigruation and was unable to complete your request. (…)

The apache error log file contains the following message:

Request exceeded the limit of 10 sub request nesting levels due to probable configuration error.

Use 'LimitInternalRecursion' to increase the limit if necessary.
Use 'LogLevel debug' to get a backtrace.

The increase of the LimitInternalRecursion does not solve the problem. So I switched the LogLevel in the httpd.conf file from warn to debug and looked again on the entries of the error log.

The following appeared (I have replaced ip addresses, usernames and URL by xyz or <URL>) :

Code:

[error] [client xyz]
mod_digest_apple: Client is using a nonce not issued by this server for this context:/rb/Vorlesung/WS12/Downloads/, referer:
http:<URL>

[Code] ....

View 3 Replies View Related

Apache :: Redirect - Internal Server Through External Server

Oct 7, 2014

I have a -I think- common issue, one external server available from internet and an internal server for local only.

I want that to ask for [URL] ....

I can get the content of an internal server. For this I tried this at httpd.conf:

Redirect /site http://in.ter.nal.ip/site

but browser changes to internal IP and obviously I can't reach it.

So, I need that when external server detects that I want to see internal server content, it ask to internal and external itself answers.

View 2 Replies View Related

How Are They Doing This With Links In My Stats

Jan 2, 2008

When I go through my AWStats under "Links from an external page (other web sites except search engines)" I see several domains that have linked to me. When I visit these sites they are generally porn and drug sites that do not contain a link. Some of the sites redirect you to other sites. When you look up these domain names they are all from Russia.

These sites account for mulitple hits as high as +14.5%. These sites do not represent the content on my sites.

My questions are.

How do I stop this? I have found banning IP addresses does nothing.

How are they doing this?

Can this lead to your site being blacklisted?

View 11 Replies View Related

Script To Changes Links

Apr 27, 2007

My company hosts our primary website on a Linux box. We link to a third party for term life quotes. The quoting server is going down this weekend and I need to change the links to their page to one on our site. Unfortunately, our content management server is also down while we re-organized our network.

I have SSH access to the live server. Can someone tell me how to search for a specific href in files under the document root and automagically change them all? It would save me the time of finding each one and changing it by hand.

View 5 Replies View Related

Symbolic Links

Jul 23, 2007

I have a linux sserver. And I mount a drive from a windows server. The mount point is /mnt/winmirror.

I make 2 test folders, test1 and test2 under /mnt/winmirror. Then I create a symbolic link in test1 to test2. In -s /mnt/winmirror/test2 linktotest2.

But there is an error message:

ln: creating symbolic link `linktotest2' to `/mnt/winmirror/test2': Operation not permitted

Any body know why I can't create symbolic link in this situation?

View 1 Replies View Related

External Links

Sep 15, 2007

have a few different list of links in my link section for eg one page i give people links to about 20 or so games company where they can buy from. another has a small list of forums people can join eg, another list of places that i shop at.i do not have any reciprocal links with any of them and only included them cos i thought it would be handy for my readers. now can i leave the links or should i take it all off because all these external links would not help in my pr? there seems to be so many conflicting opinions

how many external links can you have in a page before it's bad for you.

idea to just use robots.txt on all these pages to be on the safe side?

View 2 Replies View Related

SSL With Links In Https Pages...

Jun 18, 2009

I have an SSL cert installed to have a secure commerce area. Some of the pages have external links to non-secure sites like say [url]The padlock icon breaks and warns that there's unauthorized content. The hosting provider says it's because the external links need to be https links. Obviously that can't be done to a non-secure external site.

So the question is: do external http links break security on a secure https page? If so, is there a work around other than removing external links?

View 14 Replies View Related







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