Does Anyone Know The Mod Rewrite Code To Direct To Www. And Https

Apr 2, 2008

Does anyone know the mod rewrite code to direct to www. and https?

View 3 Replies


ADVERTISEMENT

Apache :: Mod Rewrite Rule To Disallow Direct Access To Files From Some Directory

Oct 26, 2014

in wordpress is wp-includes folder, i dont want anyone just execute file from this directory so it just serve wordpress not any malicious file be executed from there,

so i added this rule into /wp-includes/.htaccess:
RewriteRule ^(wp-includes)/.*$ ./ [NC,R=301,L]

View 2 Replies View Related

Plesk 12.x / Windows :: How To Set Whole Website To Https And Redirect All Http To Https

Oct 7, 2014

I´ve read that a whole https website might be better for SEO than just a mixed version. So I want to change the whole website to https.

We are using Plesk 12 on Win 2008 R2.
One Website is using DotNetNuke 7.3.2.

How can I automatically set the whole website to https?

What happens to the users that just type domainname.com without http or https.?

What is the right search engine friendly technique to permanently redirect to the https version even when the user is not using the application protocol prefix http/https?

Where can I do the setup in Plesk 12 fro Windows?

Are their any other drawbacks that I have to think over before I do the changes?

View 5 Replies View Related

Invalid Response Code Received From Server Code: 451,

Jul 7, 2007

when I try to send Email from horde I have this:

PHP Code:

There was an error sending your message: Failed to add recipient: xxxxx@hotmail.com [SMTP: Invalid response code received from server (code: 451, response: Temporary local problem - please try later)] 

View 5 Replies View Related

Apache :: Redirect HTTPS To Another HTTPS Address

Jul 6, 2014

I have set up an Apache web server that has ssl enabled. If I go to https://myserver.com I get the 'it works!' page and the certificate is valid and trusted. If I go to https://myserver.com/myapp that also works (it's an Oracle weblogic deployed java app that I'm fronting with Apache).

I would like to configure Apache so that when a user goes to simply https://myserver.com it automatically directs them to https://myserver.com/myapp rather than showing the 'It works!' page. I have read some documentation and experimented with setting a redirect via the https.conf file and even the ssl.conf file but nothing seems to work. I either get a 404 or simply the 'It works! page.

View 1 Replies View Related

Apache Rewrite ==> Lighttpd Rewrite

Jul 24, 2008

I dowload a scripts with a .htaccess file

Code:
DirectoryIndex index.php
RewriteEngine On
RewriteRule ^link/([0-9]+)[/]*$ /redirect.php?id=$1
RewriteRule ^link/([a-zA-Z0-9]+)[/]*$ /redirect.php?tag=$1

I want to convert it to lighttpd rewrite rules, urgent, also I can't contact with the scripts author,

View 0 Replies View Related

Dns (using Direct Admin)

Oct 11, 2009

Well what i can i say that direct admin is really pain in the ass, twice i asked in their forum but it was queued for moderation then not published. i'm having a problem setting up my domain 100% correctly.

let me explain more:

Before 1 or 2 weeks, i re-build the server and installed direct admin, but its really harder than other panels and i couldn't figure it 100% how to do,
my website now is running but i have the following problems

1- domain name can not be solved by all people. when i try to ping it it says its not resolvable, while the domain opens for most of users except for very few which gives an error saying can not connect to server

2- i get this error when using intodns.com
[url]
while everything else is ok

3- some of users in some countries access home/admin/domains/sharedip/... while others access home/admin/domains/mydomain.com/... which is the correct one, this causes problems but i temporary solved the problem by uploading files into both folders

View 2 Replies View Related

Equinix Direct

Jan 9, 2008

I've heard a internet bandwidth service from Equinix named Equinix direct, how about the quality of this service? Does there somebody have the experience of this service?

View 14 Replies View Related

Direct Admin And 64 Bit OS

Feb 20, 2008

I am trying to install Direct Admin on Cent OS 4.5 ( 64 bit ), but i am constantly getting library files error, one after another,

Example -

./directadmin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

then

./directadmin: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

then

./directadmin: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

goes on .........

But if i install 32 Bit library files (RPM), for them, they vanish and next error comes, with new file missing

I have tried loading 10 RPM's of 32 bit, but i cant go now forever...

Is there anyway to install Direct Admin on 64 Bit Cent OS?

Is there any 1 RPM file, which i can install and then Direct Admin wont give library problems.. ?

View 6 Replies View Related

Direct Admin & 123-Reg

Sep 30, 2008

As in recent threads i have posted about getting a DA lifetime licence within the next month. I currently get my domains from 123-reg but i am just wondering if someone could help me or if they have an answer to my question!

If i bought a domain from 123-reg and then got a lifetime licence from DA and had it installed onto my server what happens to the nameservers? Like when DA install it onto my box would they sort out the nameservers for my domain aswell like ns1.mydomain.com, ns2.mydomain.com or would i have to pay extra for them?

View 5 Replies View Related

Level3 Direct

May 21, 2007

Does Level3 have a monthly minimum of some sort? I currently own a dialup internet service provider, buy through a dialup reseller that mainly uses the Level3 managed modem service, and would like to deal with them directly if possible. I am also interested in their collocation services and ip connections in the future.

View 3 Replies View Related

LunarPages Now Doing Direct Spamming!

Apr 28, 2008

I have never had any dealings with LP, nor have I ever communicated with them in any way but I just received this unsolicited SPAM email from them :

Hello, My name is Tom Sebastiani, and I work for a hosting company called Lunar Pages.

I ran across your website on the Internet, and I thought I might be able to offer you more features on your hosting for less money.

View 14 Replies View Related

Reseller Plan With Direct Ip

Jun 15, 2009

i just look for a reseller plan who can offer direct ip at a low price. just like 1 dollar per month or lower.

View 14 Replies View Related

Add Domain Via Direct Admin

Nov 7, 2009

When I introduce myself as a newbie, I do not exaggerate. Hope to slowly change that, thought.

I have recently rented a dedicated server from worldstream and have paid for a lifetime usage of Directadmin. My goal is just to host my own site.

Now I am trying to transfer the my domain to this server. From what I can tell, I need to change the DNS for the domain from it's current DNS.

In the Directadmin control panel under "DNS Administration", I see "Add Zone" which I assume is the step to take. Under "Add zone", it asks for

(1) Domain name (what format would I enter this)

(2) IP Address (I was supplied with three IP's when I signed up with worldstream. Do I just pick one of these?)

(3) Name Server 1 (Unsure of what to enter here)

(4) Name Server 2 (Ditto as above)

I realize this is quite basic for most.

View 2 Replies View Related

Disabling Direct Download

Oct 22, 2009

I have a website which has a FLV player serving .flv files which are hosted in the server. I notice that some users are directly downloading the files using the direct URL and they seem to be using download managers for that which is opening several Apache connections and open slows down Apache. I want to prevent this. I thought of preventing it using a .htaccess file but did not help. This is what I used:

<Files *>
order allow,deny
allow from 127.0.0.1
allow from localhost
deny from all
</Files>

I thought this would work but it doesn't as it is blocking the FLV player from playing the file. Can anyone tell me the right way to do it?

View 3 Replies View Related

Direct Traffic Data

Oct 13, 2009

Is there a website or program actually tracks all the direct type in traffic?

View 2 Replies View Related

Direct Admin With Server

Sep 28, 2008

Just been thinking and currently i host all my services with other hosting companies like my web hosting accounts etc...but was thinking of buying a DA licence and installing it onto one of my linux servers.

On DA's website it says one licence per IP or something along them lines...does this mean if i was to install a licence on say 99.99.99.999 and it was working ok etc but then if i changed my IP range to 99.99.99.998 would that mean the DA licence would no longer be valid?

View 11 Replies View Related

Direct Admin First Install

Sep 5, 2008

First install , so i went to DirectAdmin ,

1- Sigend to User Level and Add Another Domain , i added my domain name

2- signed to Reseller panel , then NameServer and created as
ns1.xxx.com
ns2.xxx.com

3- singed to Admin control panel then to Administrator Settings , the second Tabel where it says 'Server Settings (will restart DirectAdmin)

Server's Hostname : kept it as it the name of the company that provided the server

NS1 : ns1.xxx.com
NS2 : ns2.xxx.com

Now i'm waiting 24 hours for the DNS ..

View 4 Replies View Related

CPanel To Direct Admin

May 12, 2007

I don't start a CPanel vs DA war, but need to get a "what might be different" list re a VPS.

When I got my present VPS (moved from shared hosting) I had it initially set up with DA. All my previous experience had been with CP on my shared hosting account, but I had read about CP being a bit of a resource hog.

When I tried to set up my VPS, I got it wrong. I ended up with 2 instances of "mymainsite.com" on the server. I got so confused talking with support and their UNIX lingo, that I had them switch to CPanel.

I'm probably going to move to another host and thinking of using DA to save RAM.

I'm not a reseller of hosting, just have 20+ small to very small sites. I have a number of mySQL databases that get a fair number of queries. I have 1 vBulletin app but the traffic on that site is VERY low.

So what will I need to learn differently in DA?

-cron jobs
-parked domains
-migrating sites
-backing up sites

View 14 Replies View Related

CPanel To Direct Admin

Apr 29, 2007

I did some searching but didn't find a ton of reliable information. Is there an easy way to move cpanel accounts over to a direct admin box?

View 3 Replies View Related

Direct Servers From Asia

Mar 16, 2007

Where is the best place to buy Quad Xeon servers?

is it possible to buy the servers direct from factories in Asia/china ? or even ordering the components direct from Asia and setup myself /

View 1 Replies View Related

Awstats Direct Link

Sep 3, 2007

I am currently coding a backend to my website where clients can login and view their webmail, stats, etc.

What I am after is a script that will link my clients directly through to awstats, without going through cpanel or having to re-enter their username/password through the htaccess popup.

Does anybody know if I can pass the un/pwd combo through in the url string to popup the stats in the correct manner?

View 10 Replies View Related

Old Address Direct To Porn Sites

Jul 12, 2008

I had a site with admo.net. To my surprise the name registration was done in their name and not mine so domain name cannot be taken with you. When your hosting date expires the domain was directed the day it expired to a porn site without a renewal notice or warning. It was not until after I requested the name only renewal that a renewal email arrived. The date on the renewal was marked due over 10 days after it had already expired. In the mean time all the visitors looking for me were directed to porn links.

View 6 Replies View Related

Disabled Direct Root Login

Oct 24, 2009

im able to login to root via SU perfectly

One problem: All my old files and folders are owned by ROOT so that means my SU account named XXX cant edit/add/delete anything from my SFTP because of folder/file permission.

Is there anyway my SUDO(wheel) account can still edit these files own by ROOT?

View 3 Replies View Related

How To Install Perl With Direct Admin

Oct 30, 2008

How to install perl with Direct Admin?

How to install perl with Direct Admin?

View 4 Replies View Related

Disabling Direct Root Login

Apr 16, 2008

login as: hen
hen@xx.xx.xx.xx's password:
Last login:
hen@root [~]# su -
Password:
su: incorrect password

I verified that root password is correct, but no matter how many times I tried, I can't su in

Where's my su permission
-rwxr-xr-x 1 root wheel 24060 Mar 22 2007 /bin/su*

here's inside /etc/group
wheel:x:10:root,hen

View 14 Replies View Related

Disable Direct Root Login

May 16, 2007

I tried to disable direct root login but had to struggle to find step-by-step instructions and have written the steps one needs to follow to disable direct root login.


This is an additional security measure where we prevent direct root logins and instead create a user to login and then use a command ‘su –‘ to gain root privileges.

The only risk in this procedure is that you may prevent root login but forget to add the user to the wheel group - effectively locking yourself out of the system.

Follow the steps below and you will not face a problem.

STEP 1: Let us create a user and add it to the wheel group.

For e.g. we want to create a user neonix and give him root privileges.

SSH into your server as root and follow the below commands to create a user.

groupadd neonix

useradd neonix –gneonix

passwd neonix

enteryouruserpasswordhere

verifyyouruserpasswordhere

// Please note -g in the second line

// You can replace neonix with any username of your choice.

STEP 2: Add user to wheel group.

Use your browser to Login to your WHM panel and click on Manage Wheel Group Users.

You will see the user you just added (neonix). Select the user and click ‘Add to group’.

You will see that the user has been added –
Users Currently in the wheel group root,neonix

You have successfully added a user to the 'wheel' group who will be able to 'su -' to root.

LOGOUT OF SSH

Before we disable root login, let us check if the user can login and su – to gain root privileges.

SSH into your server as 'neonix'
Login as: neonix
Password : enteryouruserpasswordhere
su –
password: enter root password here

You have successfully logged in and have root privileges. Now let us disable root login.

STEP 3: Disable Direct Root Login

(The below steps are from webhostgear.com)

1. Copy and paste this line to edit the file for SSH logins
pico -w /etc/ssh/sshd_config

2. Find the line
Protocol 2, 1

3. Uncomment it (Remove #) and change it to look like
Protocol 2

4. Next, find the line
PermitRootLogin yes

5. Uncomment it (Remove #) and make it look like PermitRootLogin no

6. Save the file Ctrl+X then Y then enter

7. Now you can restart SSH
/etc/rc.d/init.d/sshd restart

Now, no one will be able to login to root with out first logging in as 'neonix' and 'su -' to root, and you will be forcing the use of a more secure protocol.

Just make sure you remember both passwords!

View 14 Replies View Related

Is There A Way To Block Direct Cpanel Login

Jan 24, 2007

I use a login script on my hosting site. and i was wondering if there was any way or any program that would allow me to Block people from going mydomain.com then cpanel?

And forcing them to go to my site to use the cpanel login script on my website?

Im sure that if there was a way to disable Cpanel login it would aslo block the scipt on my site.

Is there a solution to my little perdicament here?

Any software or scripts that do what im looking for?

View 9 Replies View Related

Lxadmin Vs Direct Admin Vs Plesk

Jul 22, 2007

there seems to be some debate over which admin panel is the best.

I not looking for anything amaazing in sence of features and add on scrpts. I want it to put hardly any stran on the server and just provide and easy interface for setting up domains, emails databases and ftp accounts.

THe three that have been suggested are

lxadmin
directadmn
plesk

View 3 Replies View Related

Direct Admin License Costs

Aug 9, 2007

I've just had a quote for a VPS that seemed good value for money until the cost of a Direct Admin license was added ($15 extra).

Looking at DA's pricing the cheapest license you can buy is an internal license (in bulk) which is available to server providers only at 9$ a month.

If that is the case why is it that quite a few providers in the offers forum are providing DA for 5$ or 6$?

As these licenses are being offered on low end VPS with tight margins anyway, I can't understand how they can afford to make a loss on the control panel (if they are in fact).

View 8 Replies View Related







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