The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
476 views

Wkhtmltopdf on shared hosting (execute)

I use Wkhtmltopdf at the moment, and installed it on my shared hosting. I found out that my shared hosting does not support to op exec files. Is it possible to run Wkhtmltopdf on my shared server in ...
0
votes
2answers
277 views

Apache mod_autoindex and declaring a favicon in the <head>?

All browsers are not equal. Hence I need to explicitly state that I have a favicon ("shortcut icon") for mod_autoindex-generated pages. How can I do that? Using header (HeaderName) and footer ...
0
votes
1answer
32 views

Apache httpd mod_proxy_html does not parse style attribute

I have here a very strange problem with mod_proxy_html. The HTML code which gets parsed looks like this: <a href="/old/something.html" ...
1
vote
2answers
53 views

After loading a certain number of javascript/css files, the files are taking too long to load

I have a problem where on page load (after a certain number of .js or .css files) the files are taking way too long to load. At first I thought that the issue must be inside the .js files, but later I ...
0
votes
2answers
319 views

HTML not displaying correctly in email sent with PowerShell

I have a script which displays disk space on all servers on a HTML page and side by side sends email from the content of the HTML file saved. The HTML file is perfect, and the email displays the ...
1
vote
1answer
31 views

Setting up php in apache2

There is probably a very simple solution for this particular issue, alas I ether have yet to find it or understand the solution if I did find it. Our server is Ubuntu 12.04. Apache2 is set up and ...
-1
votes
1answer
33 views

How do I access a site by IP on a CentOS server

I have a CentOS 6.3 server, running Apache and have DirectAdmin installed. I have created what will be a new domain, but I do not have a domain name yet. For now I have created, lets say, ...
0
votes
2answers
84 views

Recieving a 500 Internal Server error after login success? [closed]

Having issues creating login for website: PHP: mysql_connect($db_host, $db_username, $db_password) or die(mysql_error()); mysql_select_db($db_database) or die(mysql_error()); ...
2
votes
3answers
2k views

How can I easily convert HTML special entities from a standard input stream in Linux?

CentOS Is there an easy way to convert HTML special entities from a data stream? I'm passing data to a bash script and sometimes that data includes special entities. For example: "test" ...
3
votes
2answers
5k views

Modify HTML Content with Squid

We have setup our network as per the tutorial here: https://help.ubuntu.com/community/Upside-Down-TernetHowTo. Basically, we have a squid proxy that inverts images for pages that clients request. ...
0
votes
0answers
26 views

Changing HTML-TITLE for web application with NGINX [duplicate]

There are some web applications which are running on my server. Most of them use their own small server, which are bound to localhost. So for access them, I am using NGINX which runs as a proxy. Now, ...
1
vote
1answer
1k views

New Relic JavaScript

I have a problem, I was logged in at New Relic, but didn't install anything. After that, my Chrome suddenly adds a weird JavaScript snippet to my localhost only, on AMPPS. How to get rid of this, as ...
0
votes
2answers
44 views

Show number of downloads in Apache directory listing

I have an Apache html server running which contains the standard directory listing. Is it possible to add an extra parameter to show the number of downloads beside each file?
0
votes
0answers
198 views

modify html response content on the fly with nginx

okay this seems like a weird request, but i hope you can help me anyway. I manage a root server where nginx is running (version 1.5). Now i provide webspace to my mother. My mother have someone who ...
0
votes
0answers
14 views

IIS 6.0 and .ihtml are blank

I have a problem with IIS 6.0 and .ihtml Sites. They are white. I think there are no data send, becauce firebug gets nothing. A other Web in the same IIS 6.0 works fine with .ihtml Sites. Do you need ...
0
votes
1answer
114 views

HTML page on IIS 6

I always been about Linux webservers. I need to make a simple page for intranet users. I was reading a guide how to setup a webpage in IIS. But as far as I understand it doesn't capable of simply ...
0
votes
0answers
38 views

nginx - rewrite .html to .php

I want to redirect only .html files to /index.php but for some reason everything is being redirected to index.php. What am I doing wrong? location ~ \.html$ { rewrite ^.*$ /index.php; ...
0
votes
1answer
355 views

How do I make html files accessible from OpenShift server running python?

I have an OpenShift DIY app running Python. However, I cannot reach static files like html. (or run php) If I try accessing: mydomain.rhcloud.com/hello.html, I get: uWSGI Error Python application not ...
-1
votes
3answers
422 views

How to get the php code working inside html file? [closed]

Following an example of using php code inside html on the W3 page I have the following code inside my html code: <!DOCTYPE html> <html> <body> <p>First try with ...
0
votes
1answer
252 views

Have Exchange/Outlook process html tags in SMTP mail

I am working with a third party application that sends simple SMTP email messages. The application doesn't respect line breaks or multiple spaces so the resulting email is barely legible. Since the ...
3
votes
1answer
231 views

Absolute/relative file paths affecting server load?

I was told by my hosting provider's technical people that I should be using relative file paths (/home/index.php) instead of absolute paths (http://www.example.com/index.php) to "reduce server load". ...
3
votes
2answers
254 views

How do I properly escape and interpolate variables in Bash?

I'm trying to write a one-liner to convert html entities present in some files (all html with UTF-8 encoding) I've tried recode HTML_4.0 file.htm but that also converts non-ASCII characters (it ...
0
votes
1answer
47 views

File URI in IE has stopped responding

In our office we have a web server that has a very basic set of webpages. Recently the File URI has just stopped responding for many people. When you click on the link, nothing happens, IE does not ...
9
votes
6answers
36k views

How do I send mail from linux command line so it appears as HTML to recipient?

I've tried emailing a normal web page using something like: mail -s "Test Email" blah@blah.com < webpage.htm However, the recipient sees the raw HTML tags in the email and none of my ...
15
votes
9answers
14k views

Mysteriously empty $_POST array

I have the following HTML/PHP page: <?php if(empty($_SERVER['CONTENT_TYPE'])) { $type = "application/x-www-form-urlencoded"; $_SERVER['CONTENT_TYPE'] = $type; } echo "<pre>"; ...
0
votes
1answer
175 views

How do I change the format of Apache HTTP Indices?

For instance, this index: http://howto.unixdev.net/ Differs from this index: http://gcc.petsads.us/ How do I change the format of the indices for my web server?
0
votes
1answer
22 views

rewrite mod giving internal server error when trying to rewrite links

There is many questions discussing rewrite mod problems i have read them and none solved my unique problem, i already done 3 hour of research to solve it and still stuck. i want to rewrite links in a ...
4
votes
4answers
1k views

How can I render html at high resolution? [closed]

I want to create high-quality prints of a website, for a publication. Screenshots can get very gritty when printed out, for no good reason. Embedded bitmap images can't be improved of course, but ...
-2
votes
1answer
209 views

IIS - https:// works while http://host:443 doesn't

This is my site: http://scyk.pl When you go https://scyk.pl Everything is ok, but when you go http://scyk.pl:443 Connection is timing out. I am running IIS7, today I configured ssl, and I ...
1
vote
1answer
186 views

Cannot use relative links in my tomcat development environment

I'm developing a web-application with tomcat. In the dev env, the application's root address is localhost:8080/myapp/. In production, the root address is www.myapp.com/. When I use a relative link in ...
0
votes
1answer
279 views

403 Hotlinking is forbidden

We have a website that generates simple links based in anchor tag to another site. But, when we click in these links, the following error is displayed: Error 403 Hotlinking is forbidden Hotlinking ...
0
votes
2answers
252 views

Would moving images to a CDN significantly reduce my CPU/memory load?

I am trying to reduce the cpu/memory load on my web server, and I am wondering if I should host my images on a CDN instead of my webserver. Does serving these images take up much CPU/memory?
-2
votes
3answers
4k views

Can't run any PHP

I run a fairly popular website (I do not mean to brag, but I have 20,000 users who want access. I don't want to keep them waiting any longer.) and it has been down for almost a month while I try to ...
0
votes
1answer
274 views

AddHandler PHP for HTML on CentOS

I have installed apache and PHP from Yum on CentOS 6.3 I'm trying to get PHP to be parsed in .html files-- but I can't seem to figure it out. I have set AllowOverride All in httpd.conf and then in ...
1
vote
1answer
954 views

Blocking directory listing on a wamp server

So I have a website that runs through wamp however if you type a path in the address bar, you get an index of the directory, which I don't want I have already tried to add a .htaccess file in the ...
-2
votes
1answer
29 views

Can a server setting keep a page from opening? [closed]

I have a page with the following form: <form name="form1" method="post" action="wrong_1.htm" target="_blank"> <input type="submit" name="Submit" value="A. Public / Community View "> ...
1
vote
2answers
290 views

Use Varnish to inject content into pages from specific domains

I am experimenting with using Varnish as a proxy to inject some HTML into pages from specific domains. So if any page is coming from *.organisation.edu.au, force a snippet of html immediately after ...
1
vote
2answers
88 views

Embedding live updating video into html page

If you've ever used the mac app EvoCam you know what I mean. It has a way of taking the feed from your webcame and embedding it into a web page without any flash. It's using like javascript and java ...
1
vote
0answers
65 views

HTML tabindex: Put some links last without complete enumeration

I know I can use the HTML anchor attribute tabindex to set the tabindex of links, i.e., in what order they get focused when the user hits Tab (or Shift-Tab). But, I have a home page with tons of ...
4
votes
11answers
3k views

How to convert a really big HTML file to PDF in Windows [closed]

We have a few really large HTML files (60-100 MB) that we cannot convert to PDF with any reliability. Adobe Acrobat 9 crashes - hits the 2GB limit for applications. Open Office converts, but ...
0
votes
1answer
151 views

A web server or caching proxy to cache php completely as html?

My Server's load and mysql usage are higher than usual and recently I see about 350 processes for each HTTPd and mysqld. Is there a web server or caching proxy to cache PHP as HTML?
0
votes
0answers
673 views

Making sure an image appears in appended disclaimer. Exchange 2010

I've created a disclaimer for a company which will, in essence be a signature that I will customize dynamically with AD attributes (things like first name, etc.) The company, natch, has a logo. I'd ...
2
votes
4answers
114 views

Change the prefix of a website? (IE: www.example.com/bob_11 -> bob_11.example.com)

Some websites have variable prefixes. For example: www.example.com/bob_11 is presented as bob_11.example.com. How do I do that? I assume its a sub-directory, but can't find anything explaining how to ...
4
votes
1answer
539 views

Modify MDT wizard to automate computer naming

Situation: I am imaging new systems using MDT Lite-Touch. I am trying to customize the wizard to automate the naming of new systems so that they include a prefix "AG-", a department code which ...
1
vote
1answer
630 views

How to “screenshot” a terminal with ANSI colors and export to HTML? [closed]

I want to do a full screen copy of some terminal output, with ANSI colors, and generate HTML so I can post to a blog or wiki. My real world example: I want to document top with all of its ANSI color ...
0
votes
4answers
772 views

Protect Files from unauthorized access

I have this very big problem I've been trying to solve for last few days with no success. I have some files which are class schedules, these are imported to the server from an external source (html ...
1
vote
1answer
317 views

IIS 6.1 Handlers for HTML, ASP, INC files

I have a legacy website in which .HTML, .ASP, and .INC files are being used. Problem is all pages have VBScript code not parsed by IIS and thus written on page as static text. I want to fix it. All ...
1
vote
3answers
837 views

Preventing access to files if a user types the full url on the address bar

i have a website, some folders on the websites contains images and files like .pdf , .doc and .docx . the user can easly just type the address in the url to get the file or display the photo ...
0
votes
2answers
26 views

Downloading ASP Created Website Data

I am currently dealing with an old website where there are political issues preventing the migration of the database or re-designing the site. Since I can't get access to the database I basically I ...
0
votes
2answers
2k views

Page won't load on IE9 unless developer tools are started first [closed]

One of my pages (with very extensive javascript) won't load on IE9. It loads ok in Mozilla, Chrome, Safari and Opera. If IE9 Developer tools are running it loads fine. If I load IE9, load the ...