Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
0answers
16 views

I can't get SSI to work on Fedora/Apache [on hold]

I'm running Apache 2.4.10 on Fedora (20), and I've tried to enable SSI (server side includes) on the server. In the apache config file (httpd.conf) I have Options +Includes AddType text/html .htm ...
0
votes
1answer
86 views

Can I use the Nginx PageSpeed module together with SSI?

Is it possible to use the Nginx PageSpeed module together with SSI? I can't get SSI up and running when PageSpeed is enabled. But as soon as I disable PageSpeed, SSI works again: location ~ ...
0
votes
0answers
90 views

Server Side Includes don't work when I connect to my XAMPP 3.2.1 site via url from VirtualHost entry

Server Side Includes work on my site when I connect to it via ip address: x.x.x.x/mywebsite/index.shtml but not when I use the url of the virtual host entry that I set up for it: ...
0
votes
2answers
40 views

If a web root directory has a simlink that points to a folder one-level up, does that pose a security risk?

Assuming a Linux/Unix system. Not asking about any particular server software, just wondering in general. I want to use this to include javascript libraries or things like that in multiple sites or ...
0
votes
1answer
179 views

Apache 2.4 SSI on Ubuntu 13.04

I have an Ubuntu 13.04 server that had normal, stock Apache 2.2 with SSI working. I got a bug in my ear, and installed the ppa:rhardy/apache24x PPA to get my server upgraded Apache 2.4. While it ...
2
votes
0answers
31 views

Include HTML output arriving from Google App engine inside Joomla-hosted website?

I would like to include dynamic content that is generated by an application hosted by Google App engine as part of an existing website hosted by Joomla (to replace some so-far static articles). ...
1
vote
0answers
199 views

PHP SSI with NGINX

I've got a really old website I'd like try running on NGINX instead of Apache. This site consists of many flat HTML files with sporadic PHP SSIs, such as: <!--#include virtual="/some_file.php" ...
0
votes
1answer
247 views

Automatically prepend executable Perl scripts using .htaccess (like php_value auto_prepend_file)?

I have previously built sites using PHP, where I automatically included header and footer html using the following lines in .htaccess on an Apache host: php_value auto_prepend_file ...
0
votes
1answer
495 views

Nginx ssi with proxy_cache hanging after first request

I am using Nginx's proxy cache for our dynamic pages and have recently integrated ssi. The first page load works fine but once the page is cached and another request comes through the page just hangs. ...
0
votes
0answers
66 views

SSIs not working on default page

I'm new to this and have (for me, at least) a bit of a strange problem. I've set up SSI on my home apache2 server, adding some lines to /etc/apache2/apache2.conf (on Debian). The strange thing its ...
1
vote
1answer
787 views

NGINX SSI Not working

I'm having trouble getting SSI to work on NGINX. You can see the problem if you hit http://www.bakerycamp.com/test.shtml. Here is the contents of that file: <!--# echo hi --> If you hit ...
1
vote
1answer
324 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 ...
6
votes
1answer
3k views

SSI includes not working on Debian with Apache

I'm trying to get SSI to work on Debian running Apache, however the .shtml files are not being parsed. From a PHP file with phpinfo() I can see that the following show up in the loaded modules ...
1
vote
1answer
503 views

eAccelerator Causes PHP Include to Fail in Wordpress

SERVER: Linux CENTOS 6 PLESK 10.4.4 I have been installing Wordpress on many subdomains on our dedicated server. All of them run CRON jobs every 10 minutes. Long story short, the time to load first ...
1
vote
1answer
788 views

How to include PHP file from a Virtual Directory on IIS?

I would like to know if there is a way to include PHP files from Virtual Directory to a PHP file in site's root. For example I have siteroot: siteroot\index.php siteroot\other.php and a separate ...
0
votes
1answer
539 views

Include Virtual SSI not working for CGI script

I have the following Server Side Includes within an .html file called test.html... <!--#include virtual="/cgi-bin/myScript.cgi"--> <!--#include virtual="/includes/myFile.html"--> When ...
3
votes
2answers
998 views

How can I get Apache2 to serve up .shtml files as Content-Type “text/html” and not “text.html”?

I'm working on a website, implemented as shtml, and when I try to load the home page (http://simplyclassicremodeling.com) from IE8, it says it can't open the file because it transferred as ...
2
votes
1answer
527 views

Unable to SSI include some CGI scripts

I have a page site.shtml on an Apache server in which I am trying to include a few CGI scripts, like so: <p><pre><!--#include virtual="files/testfile" --></pre></p> ...
1
vote
1answer
714 views

nginx proxy caching and ssi

I am using nginx for caching requests from the upstream apache server, however I want few blocks inside to be fetched from apache all the time. I am hoping ssi can do this, but the SSI tags are ...
2
votes
1answer
568 views

Why does my SetEnvIfNoCase directive does not match requested URI?

I'm attempting to set up Apache such that various error pages display with headers/footers appropriate to the context of the error. If the user was requesting a corporate page, I want to show the ...
4
votes
2answers
1k views

Apache web server intermittently serves 403: “Directory index forbidden by Options directive” and 304

We have configured a web site with SSI for .html files on Apache/2.2.19 on CentOS 5.5 Linux. Works OK, but occasionally get 403 for the root page (index.html served as a directory index). No file ...
1
vote
2answers
394 views

How do I conditionally handle undefined SSI variables using Apache?

I want to include a header in a bunch of pages, like so: header.html: <html> <head> <title>My site</title> </head> To enable a page-specific title, I'm ...
0
votes
1answer
119 views

Adding SSI support causes mod_dir “trailing slash” redirect to stop working

I have enabled SSI using the following directives in .htaccess AddHandler server-parsed .html AddOutputFilter INCLUDES html However when I add these, the trailing slash redirects stop working. For ...
1
vote
1answer
341 views

in an SSI include, can the file being included be redirected in an .htaccess file

I have some old html pages that have SSI includes in them to include certain html in all the pages. So, the SSI looks something like this: <!--#include ...
0
votes
1answer
68 views

php relative path not found

I'm migrating to a new server. Before I could use: include/XXXX.php in /var/site/test.php. Now I have use: /var/site/include/XXXX.php I'm using: Ubuntu 10.4 Apache2 PHP5
0
votes
1answer
522 views

PostgreSQL 9.0 HA load balancing between servers

Hey folks, I'm bashing my head to configure load balancing stuff between two database servers. I have no clue whether, I can find any mechanism to implement this. I already tried to implement Heart ...
2
votes
1answer
78 views

Limit SSI capabilities to only include files

Is there a way to enable SSI on a server (running apache), but only allow the include element (<!--#include -->) and not any other?
3
votes
1answer
518 views

Is it ok to map the SSI handler to .html files in IIS?

I have a site built with static html files and I need to add a segment of markup to every page. The natural choice to accomplish this is to use server-side includes (SSI). The SSI handler does not ...
2
votes
3answers
3k views

Why won't SSI work in IIS?

I can't get IIS to respect my SSI directives - it just outputs the #include directive as if it were regular old html. Here's the relevant data points: My file with the include directive is called ...
1
vote
2answers
488 views

SymLinks vs. PHP Includes (performance)

Which of these 2 is easier/faster for a Linux server running Apache to process? A) A symlink pointing to a php file: file-sym.php ---> file-orig.php B) A PHP file (file-inc.php) including ...
2
votes
2answers
3k views

How to enable SSI for all html files?

I use MAMP to develop sites. I have each site in it's own folder in the htdocs folder. I manage one site that I need to use ssi directives on, because the host doesn't allow php includes. I've ...
0
votes
3answers
86 views

Server impact of common shared files across hundreds of sites

I am working for a client running a HostGator Dedicated Server with hundreds of sites on it. Since there will be some common files between them I am contemplating doing the following: creating a ...
2
votes
2answers
977 views

How can I enable SSI on HTML pages on GoDaddy (Windows hosting)?

I wish to enable SSI's (server-side includes) on my HTML pages on GoDaddy. I want lines like this to be processed properly: <!--#include virtual="/include/header.html"--> Is this possible ...
0
votes
2answers
168 views

Apache SHTML including a PHP file

Following this question http://serverfault.com/questions/186363/htaccess-directory-index-with-php-files I was able to create my index using a PHP file included in a SHTML file as follows ...
1
vote
1answer
450 views

HTAccess Directory Index with PHP-Files

I'm currently trying to fancy up my directory index a little - To do so, I already managed to create a decent layout around the created table - But now, I need to add some scripting, too. As I'm most ...
2
votes
3answers
3k views

How do you enable SSI's in Apache?

I've found information on the web, but it just doesn't make sense to me. I'd like to know exactly what files I should go into, and precisely where and how I should modify them.
0
votes
3answers
189 views

php include file

I have a common framework that resides in /var/www/fw/trunk path, and also have a virtual host that resides in /var/www/vhosts/aerosoftware.net/httpdocs/ on a http://aerosoftware.net/ domain. I ...
0
votes
2answers
360 views

I enabled IIS on Windows 7 but it's not working

I followed Windows instructions, and turned on several parts of IIS. But http://localhost isn't working, and I don't see the IIS entry in Administrative Tools either. I only want to use SSI, not ...