Include .html Into .php (PLESK)
Nov 19, 2007
I have a server running PLESK 8.2 (latest version). With PHP4 and 5 support. I want to include .php files into .html (which work fine on LINUX CPANEL but on on WINDOWS PLESK).
Please can anyone suggest how can i make my WINDOWS server work so that it includes .php into .html. (.php included in .php works fine).
ALSO i tried to add (application/x-httpd-php in IIS MIME TYPES to extension .html and even .php but it did not work.)
View 5 Replies
ADVERTISEMENT
Jul 6, 2009
am using xampp 1.7.1 as my local server.
i want to include menu.shtml into index.html, but its not working.
am using this code.
<!--#include virtual="menu.html" -->
View 2 Replies
View Related
Oct 13, 2014
The sql server I have my users use is on a different server from which plesk is installed. Plesk should include the size of the user's databases from the external server as well otherwise the user can have a database as large as he wants. It's no longer restricted by the plans limits.
View 7 Replies
View Related
Apr 22, 2015
So I was trying to look up something from the horde Databases just to find that the full server backup that can be triggered in "tools & settings" -> "backup manager" does NOT include the horde and roundcube databases, even with "configuration and content" selected.
Sure, there are 7 days worth of daily backups in /var/lib/dumps but it would be nice to have those files included in the "full backup" Or am I missing something here?
View 4 Replies
View Related
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
Feb 11, 2015
I have an Ubuntu 14.04 LTS 64 bit virtual private server with Plesk 12. The server is hired from a hosting provider. The server is used to run the Odoo ERP application (using postgres database).
The Odoo application is running fine and now I want to create a backup of the application using Plesks Backup manager.
I choose configurations and content option in the backup manager but the created backup is only 200kb.
I think the problem is the location where the Odoo application is installed is not included in the backup. I made a tar backup from the server and extracted it on my pc. It seems that the main parts of the Odoo application are in the var, opt, etc and usr directories (not in a domain but under root).
Installing the application in a domain would solve the Plesk backup issue I think but the installation script of Odoo puts Odoo in var, opt, etc and usr directories even if I put the install script in the directory of a created domain. Since the manual Odoo installation is complicated I am very happy to use the script.
My questions are:
1. Is it possible to include the directories var, opt, etc and usr in the Plesk backup and how and where do I do that?
2. Can I restore such a backup without no problem in Plesk?
View 1 Replies
View Related
Jul 24, 2014
I've just upgraded from Plesk 11.something to 12.0.18 on Centos 6. And I've seen that Horde has stopped displaying HTML email again. editing psa-horde/imp/config/mime_drivers.php. I've made that same fix on my new Horde installation, but it doesn't seem to have worked this time. Is there anything different that I need to do on this version of Horde?
View 2 Replies
View Related
Mar 5, 2015
I have a PHP mailer script that sends out a multi-part email. Since moving to plesk this email comes in as one big plain text email like so...
Code:
--rms-mix-xbda95cce7efa4e5491439a9f8109e513x
Content-Type: multipart/alternative; boundary=rms-alt-xe38d8d20baa42e9bb94d747749c07602x
--rms-alt-xe38d8d20baa42e9bb94d747749c07602x
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: Quoted-printable
[Code] ....
If I view the same email in round cube, it is rendered fine.
If i tell the same script to send to gmail, then the email renders as it should.
Something is happening with the mail on server to break things and I cannot figure it out.
View 9 Replies
View Related
Mar 19, 2009
I see some hosts provide fully managed VPS. If that's the case, what does that mean exactly? Does it mean the host manages updates and backups and that kind thing? what other maintenance does full managed VPS can provide besides updates and backups?
View 7 Replies
View Related
Jan 19, 2008
ERROR: Unable to include the DB/mysql.php file for `mysql://poweradmin-user:***@localhost/pmwh'
Does someone has an idea? I'v installed it according this howto:[url] yet it is giving me this error .
View 1 Replies
View Related
Sep 30, 2007
I am running a Windows 2003 with PLESK on it which has php support. But i am not able to "include" .php pages into my .html pages or .php into .php.
Like on Linux servers we use phpinclude() to include .php pages n .html, but its not working on Windows server for me.
View 6 Replies
View Related
Jan 8, 2007
Ive searched google and this forum for hours and have not found any solution to this below error on a site of mine.
I am using php 5.2
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/comosabe/public_html/footer.php on line 5
View 2 Replies
View Related
Mar 13, 2007
Fantastico has released a new update which patches a remote include exploit found in their popular product.
Of course you need to have a valid user account through cPanel in order to use this.
View 3 Replies
View Related
Jun 18, 2008
We transfer some hosted website from our usa server to our cana server and they have function.include error in new server.
View 2 Replies
View Related
Oct 18, 2007
We have a strange issue where include('./somebadfilepath.txt');
Will not output the standard WARNING from PHP. Instead it just displays a blank page.
phpsuexec is installed.
This also happens for other functions like fopen or fopen when supplied a URL path. No error,
View 4 Replies
View Related
Nov 25, 2007
My PHP script has an include statement. All works fine when I access the script using http. HOWEVER, when I access the exact same page using https, PHP complains that it fails to open the include file. I've checked and the include_path lists the correct dirs in both cases.
View 4 Replies
View Related
May 19, 2008
if its possible to display subdomains on the Apachelog page? For example under "vhost" it would list the full website address of each subdomain?
View 2 Replies
View Related
Feb 8, 2014
I run a the polyglot website [URL] .... and my question is about "how to serve a page in the language preferred by the user, if available?"
At the moment I use Multiviews to add a language code to the requested URL according to the AcceptLanguage header (e.g. if "tr", serve index.html.tr instead of index.html), but this information doesn't always match user wish and I was told that serving different filenames for the same requested URI can prevent proper pages indexing by search engines.
So, I will now store web pages in each language in a specific directory, e.g. subdirectories en, it ru, tr, etc. For instance /tr/index.html will be in Turkish.
On every page, user can change language clicking on a link showing e.g. "uk" for Ukrainian. Now I want that once they do that all pages requested by the same client be served in the same language, unless/until user click on another language link.
I know that I could set a cookie or use HTTP-REFERER for that, but possibly the browser can be set to refuse cookies or not sent the Referer HTTP header.
So my question is : knowing that when a user click on a language link we serve a page in the corresponding directory, how could I reuse that information for next request of the same client (same IP address), including it in a RewriteCond directive so that I can serve requested page in the same language directory, if it exists.
I wish to avoid server side scripting (at present the website is 100% static).
View 1 Replies
View Related
Oct 20, 2009
I need to change the server configuration on Plesk such that the SuexecUserGroup directive is removed, so the user's cgi scripts run as the apache user (www-data), rather than as the user specified in that directive (the domain user), as on an unshared (non-VPS) server. I don't care about security from other domains because only one domain runs on it anyway, so making the user domain-specific is irrelevant from a security point of view and stops some of the user's code working.
This directive is found in
/var/www/vhosts/domainname.com/conf/httpd.include
and is:
SuexecUserGroup user psacln
(this line appears twice, for ports 443 and 80)
I understand that this file can't be modified, as it may be overwritten by Plesk. Therefore additional directives must go in the vhost.conf file.
Will the following vhost.conf file do the trick and override the directives in httpd.include?
<VirtualHost domainIP:443>
SuexecUserGroup www-data www-data
</VirtualHost>
<VirtualHost domainIP:80>
SuexecUserGroup www-data www-data
</VirtualHost>
View 1 Replies
View Related
Apr 5, 2009
1. Are there any restrictions or special problems with hosting domains as a function of whether they are a ".com" versus a ".us" domain?
2. Are there any differences or problems when hosting domains which have index files which are htm versus html?
For these items, are there good sources for detailed explanations?
View 7 Replies
View Related
Apr 12, 2008
I want my server looking and open index.html first and after index.php, I mean if have both index.html and index.php in a folder, the index.html will be open by default .
I know it name: DirectoryIndex directive ..
View 5 Replies
View Related
Mar 12, 2008
PHP 5.2.5 / Apache 2.2 / suPHP enabled
index2.html shows "it works" but index.php does not, shows up blank ....
View 6 Replies
View Related
Feb 18, 2008
I have several websites running on Linux hosting with cPanel, that were developed as static .html files, where for ease of maintenance (use of includes) and future improvements I want the pages treated as .php. On one server I use, I just put:
AddHandler application/x-httpd-php .html .shtml
into the .htaccess file and the pages were treated as .php, exactly what I wanted.
The other sites are on a cPanel reseller account at iVhosting.com. When I tried this there, it didn't work. I tried some other ideas suggested by Google, which resulted in the .php files being downloaded as text files. I contacted iVhosting support, who stated: "you will not be able to do this on our server since we use phpsuexec/suphp for more security. PHP pages have to have .php extension."
So what can I do? I can't rename the pages all to .php because this would break incoming links and destroy the page's PR. Creating a permanent redirect for each page to the same name with .php extension would create a very large .htaccess and be extremely tedious to do.
View 6 Replies
View Related
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