Mod_rewrite - Restart Required

Apr 11, 2008

i have a bunch of rewrite rules that work fine on my dev server but when i upload to production server they dont work. is a restart of apache required?

im on a dedicated box so this shouldnt be a problem, but how do people on shared accounts do this then?

View 1 Replies


ADVERTISEMENT

Is Python Required

Dec 26, 2008

I have Python on my server and it is using the most CPU and Memory on my server than any other process. I don't believe any of my clients use it so I am planning to delete it.

I am just wondering, does CentOS 5.2 (With cPanel) require Python, or is it not required so I can delete it without any problems caused?

View 14 Replies View Related

How To Get Rid Of Authorization Required

Jan 25, 2007

I have folders / files on my website that I want people to be able to access, but when I try to access them via a browser I get a login prompt, "Your not welcomed here", and a 401 Authorization Required page. How can I make it (using SSH or FTP) so that these files are viewable from the browser? My server is running Fedora.

View 7 Replies View Related

Well Supported VPS Required

Nov 3, 2007

I moved a web site i developed from shared hosting at fasthosts due to performance issues and beacause I needed a more flexible platform.

I decided to go with webfusion as i'd seen them in the press everywhere.

Everything was working fine and performance was good - however the emails sent from the site (worked fine on shared hosting)- using php mail bounced. was getting ...

<sal@goldplateuk.com>:
213.171.216.118 does not like recipient.
Remote host said: 550 <anonymous@lvps212-241-216-214.vps.webfusion.co.uk>:
Sender address rejected: Domain not found
Giving up on 213.171.216.118.

However - sending to a hotmail address would work.

I referred to support - first line said they'd have to talk to second line support and get back to me.

Eventually - they called back and basically said everything looks ok on the server - they don't know why it's happening - do some analysis of your own - go on google.

Generally support isn't too hot - 2 days for a reply on a ticket. To cut a long story short -

does anyone know of a VPS host who would know what was wrong and would be able to help someone who is new to the VPS scene as i need to move host fast as the customer wants this resolved asap.
£25/month top budget.

View 3 Replies View Related

Mailserver / Admin Required

Aug 1, 2008

I'm having some serious issues.. I moved to a new dedicated server company and found out that the IP block I was on was blacklisted with 5 anti-spam lists.

However, the company is great and they have managed to get the IP block out of every single black list.

However, I am still having issues. My server does not seem to be listed on any blacklists but emails sent out to various places, get bounced back with the following types of errors.

Any suggestions or advice? Any server administrators who think they can fix this? Please PM me with your quote.

Code:
SMTP error from remote mail server after initial connection:
host umip1.um.edu.my [202.185.111.224]: 554 umip1.um.edu.my

Code:
SMTP error from remote mail server after initial connection:
host mailfilter.hi-light.com.tw [210.71.187.212]:
554-IP650-02.hibox.hinet.net
554 Your access to this mail system has been rejected due to the
sending MTA's poor reputation.

Code:
SMTP error from remote mail server after initial connection:
host gateway.kaf.com.my [203.109.48.229]: 554-gateway.kaf.com.my
554 Connections from your server *ip removed* are being refused due to poor reputation.

View 5 Replies View Related

Curses RPM For CENTOS4.4 Required

Jul 11, 2007

I am using CentOS release 4.4 (Final) with Plesk 8 Hosting Control Panel. I want to install MTOP for MySQL monitoring which requires Curses.

[root@cll mtop-0.6.6]# perl Makefile.PL
Warning: prerequisite Curses 0 not found.
Writing Makefile for mtop

I need Curses rpm for CentOS 4.4, please give me that rpm so I can proceed next.

I also need Term::ReadKey 2.1 rpm for CENTOS4.4

View 2 Replies View Related

IIS And Mod_rewrite

Jun 12, 2009

I've just moved a few webistes from Linux to Windows and I'm using IIS to run them. Does anybody know of any free alternatives to ISAPI_REWRITE so I can use mod_rewrite per account?

View 8 Replies View Related

Mod_rewrite

Oct 2, 2007

Its October and I have a Server at home with me running NO CONTROL PANEL... I have been using it for 5 years now... But my problem is my mod_rewrite is not working... I have tried fixing it... But I can't find it in the httpd.conf file where I heard it was at... They said it came by default by Apache..

I'm running Apache2.2.4, Fedora Core 7), PHP 5, MySQL 5.... I don't see the mod_rewrite on there....

View 14 Replies View Related

RegEx Required For WordPress URL Redirection

Nov 5, 2009

With new installation of WordPress, I started Permalinks as "/%year%/%monthnum%/%day%/%postname%/", but now I've decided to change it to "/%postname%/"

Existing URLs
Code:
[url]
New URLs
Code:
[url]

but I don't want to break existing URL, so I decided to have a new rule defined to do this, here is how my .htaccess currently look...

Code:
RewriteEngine On
RewriteBase /

RewriteRule ^([0-9])/([0-9])/([0-9])/([0-9a-zA-Z-]+/)$ /$4 [R]

#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

View 1 Replies View Related

Rack Space Required In GlobalSwitch 1 Or 2

Jul 27, 2009

We are an established owner of three data centres outside of London. We are looking at either a half or full lockable rack in either Global Switch 1 or 2 (ideally with 24/7 managed hands) in order to terminate a backhaul circuit there.

We are also interested in a similar arrangement in TH-E.

We only require around 2 amps as the space will only house an edge router and switch for inter/cross connects.

View 9 Replies View Related

Good Dedicated Server Required

Oct 24, 2008

Due to problems with our current hosting company we are desperate to move our site to a dedicated server.

I am a UK based company with a .co.uk website.

Can anyone recommend a company?

How long does the change over take?

How much down time can I expect during the change over period?

View 11 Replies View Related

Low Cost VPS Engine Required - Hypervm Or Other

Jun 13, 2008

I require a VPS system for my main dedicated (Softlayer, 4GB ram - to become 8gb ram after implementation, Dual Xeon 4 CPU).

I need to decide whether to use HyperVM (Lxlabs) or some other sort of system (Not Viruozzo had a bad experience with them a few months ago). I want something good and easy setup and efficient. I don't require EYE-CANDY.

I need to know what you recommend and what is easy to setup. I could also pay a third party organization for setting it up (if they have the knack for it and experience).

I would like to know everyone's experience (hosts and users) on what they like or prefer (except Virtuozzo/Parallel which I wont even consider anymore).

Also my main server has CPanel with around 100 web sites already on. Can I install hypervm or such on the existing server or do I need a fresh server for the same. The VPS accounts based on hypervm or such will end up having cpanel vps licensing anyhow since I am pro-CPanel (anti Parallel) (No plesk)

View 2 Replies View Related

Best Email Hosting (no Web Or Other Required) Provider

Jul 25, 2008

Wondering anyone can share experience of best email hosting provider?

current our website sends around 500 email per day (user rego, password, invoice etc) and we use google apps, but it is very unreliable and often blocked by hotmail.

our requirements will be
- high throughput for smtp outgoing
- US based, ideally TX based
- support alias

we do NOT need thousands account, around 15 will be enough,

View 3 Replies View Related

Hosting Required To Support Php 5.2* + And PDO_MYSQL

Aug 4, 2007

My current host has just shafted me by discontinuing PDO_MYSQL support on my setup without warning (my sites now don't work and they won't do anything to rectify it).

I found another host and asked sales about the PHP version and whether PDO_MYSQL was available and was given mis-information, so I'm now cancelling the service I signed up for this morning.

I need:

PDO_MYSQL (most people only support PDO with sqllite!).
PHP 5.2*+
Ability to install pear modules.

View 5 Replies View Related

Windows Host Required For Developer

Oct 30, 2007

Ive been searching around recently for a webhost to setup my online development area. The following are my requirements, so if you could point me in the right direction i would be extremly grateful!

Windows Hosting (durr! at least 2 gig space/50 gig bw).
ASP.NET 2.0 & AJAX 1.0 (3.5 would be even better, but i can wait until it comes out of BETA).
SQL 2000/2005 (I will need upto 10 databases, but none of these stupid 100mb database limits. I would prefer if space as taken out of my web space.
ISAPI_REWRITE module (i like to make pretty urls!).

I would prefer UK based servers, but i'll make do with US.

View 11 Replies View Related

Mod_rewrite RewriteMap

Dec 15, 2005

I have a list of categories that i want to rewrite the URL to display the names instead.

I'm using this:
RewriteMap catlist txt:C:/web/apache2/htdocs/catnames.txt
RewriteRule ^/cats/(.*)$ /categories.php?catid=${catlist:$1|0}

catnames.txt consists of
CategoryName 6
AnotherCatName 8
OnemoreCatName 9
.....
and so on.

This works fine on my local windows PC since i'm using httpd.conf to set this up.
When i use this on my server under .htaccess, the error log says "RewriteMap" not allowed here.
I it only to find out that i cant use RewriteMap under .htaccess... Is there any other alternative to achieve this without listing all the category names with corresponding rewriteurl statements in my .htaccess file?

View 14 Replies View Related

Installing Mod_rewrite?

Sep 8, 2005

I have installed a Apache server version 1.3.33 on windows XP and would like to enable mod_rewrite so i can rewrite my ugly url´s. How do I install this great feature in Apache so i can test it locally?

Do i just remove # from

#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c

View 2 Replies View Related

Mod_rewrite Tracking

May 28, 2008

I've lots of:

[warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.

Any ideas how to track them?

View 5 Replies View Related

Does Mod_rewrite Consume RAM?

Oct 24, 2009

does mod-rewrite consume ram?

actually found in new vb discussion of seo friendly urls and mod rewrite was an option for most friendly url, so wanted to know if constant usage of mod-rewrite adds additional load to the server or not?

forum which I and my friends use are pretty big more than 6k in a forum and other above 25k, with 250k posts in 1 forum and 600k posts in the other, so just give me an idea on wat can happen due to constant overwritten?

View 8 Replies View Related

Apache And Mod_rewrite

Mar 29, 2009

So I've setup a server heres the spec provided by Webmin

Operating systemUbuntu Linux 8.10

Webmin version1.470

Time on systemSun Mar 29 18:56:12 2009

Kernel and CPULinux 2.6.27-11-server on i686

System uptime5 days, 19 hours, 42 minutes

I'm struggling with mod_rewrite their seems to be no such thing...

Its not mentioned in the apache2.conf or httpd.conf, httpd.conf was blank previously but I added in certain things to get php working but I cannot get mod_rewrite working, which brings the question forward what else am i missing?

I started out with the aim of blocking the ability of viewing directories.

Quote:

Loaded Modules core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_setenvif mod_status mod_vhost_alias

So how can I go about getting mod_rewrite setup and/or what ever else I'm missing that I might find essential later on once I have everything setup?

View 4 Replies View Related

Lighttpd Mod_rewrite

May 15, 2009

I am struggling to get this .htaccess file to work with lighttpd, i am not a coder so its very hard for me to fix it, hopefully if someone knows how can tell me how to write rewrite code that will get it working.
{quote}

1. Comment the 2 lines below if the server returns 500 errors!
Options -Indexes
Options +FollowSymLinks

#Uncomment following lines if you want to use image caching!
#<IfModule mod_expires.c>

1. ExpiresActive On
2. ExpiresDefault A1209600
3. ExpiresByType text/html A1
#</IfModule>

1. Uncomment following lines if Apache doesnt support MultiViews!
<IfModule mod_rewrite.c>
RewriteEngine On
1. Uncomment the 2 lines below if you are using www.domain.com # as the baseurl for the site and users access your site # via domain.com (THIS IS REQUIRED FOR JQUERY TO WORK)
#RewriteCond %{HTTP_HOST} ^domain.com [NC]
#RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* loader.php [L,QSA]
</IfModule>

1. Edit below lines and set to
2. ErrorDocument CODE /RELATIVE/error.php
3. If the script is installed in the default document
4. root then relative is null.
#ErrorDocument 401 /error.php
#ErrorDocument 403 /error.php
#ErrorDocument 404 /error.php {/quote}

looks like its calling the rule from loader.php file, now how can i convert this to lighttpd language,

View 4 Replies View Related

Php-cgi Isn't Work With Mod_rewrite

Oct 28, 2009

I have been using apache and php-cgi and it works well together but when I tried to use
mod_rewrite it stopped working and I got "Internal Server Error" result.

Apache error log showed "FastCGI: incomplete headers (0 bytes) received from server"

I think that mod_rewrite rules are ok because when I refer to some HTML file then it all works.

Apache 2.2.14 and php 5.2.11

View 5 Replies View Related

Mod_Rewrite (Enable It)

Mar 23, 2008

I have a VPS and I need to enable mod_rewrite.

Here is my PHP Info: [url]

I read a tutorial but I just don't get it. I would appreciate if you could help me out.

I need it for my Wordpress blog.

View 14 Replies View Related

.htaccess Mod_rewrite

May 28, 2008

I'm trying to redirect everything except the subdomains from an old domain to a new domain. The following appears to work so far:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^sub1.olddomain.com$ [NC]
RewriteCond %{HTTP_HOST} !^sub2.olddomain.com$ [NC]
RewriteCond %{HTTP_HOST} !^sub3.olddomain.com$ [NC]
RewriteCond %{HTTP_HOST} !^sub4.olddomain.com$ [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L]

But the subdomains also seem to be loading rather slow. Am I doing anything wrong here? Is there any way to optimise or simplify this (I have around 11 subdomains on the old domain)?

View 1 Replies View Related

Mod_Rewrite Subdomain

Aug 31, 2007

I am attempting to redirect any subdomain as follows:

subdomain(dot)domain(dot)com to
domain(dot)com/index.php?user=subdomain

I am having some issues doing this though. None of the samples online seem to work. Do I need a wildcard subdomain? Do I need to do anything to the dedicated linux server I am on? I have other sites on the same server all using mod_rewrite successfully.

Here is what I have so far:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^w{3}. [NC]
RewriteCond %{HTTP_HOST} ^([^.]+).domain.com$ [NC]
RewriteRule ^.*$ /index.php?user=%1 [L]

Is there anything I am missing to get this thing working?

View 3 Replies View Related

PHP-cgi Breaks My Mod_rewrite

Aug 13, 2007

I had the sysadmin install SuPHP - so that my upload script would work properly, however now my mod_rewrite is broken.

You can view the problem here: [url]

It is supposed to show the item with id 29, as you can see. However it shows the gallery index (As if /gallery/ was typed in without the view-29)

The .htaccess file:

Code:
#.htaccess

RewriteEngine On
#This will force trailing slashes
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]

#RewriteCond %{REQUEST_URI} !^*(css|png|jpe?g|gif)

RewriteRule ^(.+)/(.+)/?$ $1.php?args=$2 [QSA,L]
RewriteRule ^(.+)$ $1.php [QSA,L,NC]
My very framework relies on the .htaccess working this way... I can turn it off, however I would really rather not - so if you have any idea how I can fix this, please do tell.

And on a related note, is it possible to run PHP under a user and not use cgi_php?

View 14 Replies View Related

Mod_rewrite / Lighttpd

Aug 6, 2007

how can I run a equivalent on lighttpd like this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

# END WordPress

View 0 Replies View Related

Url Rewriting Or Mod_rewrite For IIS

Apr 3, 2007

I've got a big .htaccess file which works brilliantly in mod_rewrite for apache. However, the client I want to use it for uses a windows server which is based on IIS.

Does anyone have experience with rewriting urls on IIS. Is it easy, could I easily change this:

RewriteCond %{REQUEST_URI} !^/(.+).php$
RewriteCond %{REQUEST_URI} !^/$
RewriteCond %{REQUEST_URI} !^/products.php$
RewriteCond %{REQUEST_URI} !^/special-offers.php$
RewriteCond %{REQUEST_URI} !^/best-sellers.php$
RewriteCond %{REQUEST_URI} !^/spares.php$
RewriteCond %{REQUEST_URI} !^/images/
RewriteCond %{REQUEST_URI} !^/css/
RewriteCond %{REQUEST_URI} !^/components/
RewriteCond %{REQUEST_URI} !^/Special_Offers
RewriteCond %{REQUEST_URI} !^/Best_Sellers
RewriteCond %{REQUEST_URI} !^/Spares
RewriteRule ^([^/]+)/?$ products.php?show=cats&main_category=$1

Into something that would work. Someone mentioned using asp.net but I've never looked at this before, and can't afford to spend too long this.

Is there a quick/reliable solution (apart from switching webserver).

View 3 Replies View Related

Auth_imap: Required IMAP Extension Not Found.

Jul 2, 2008

I am having a hard time tracking this down. Its a Cpanel/WHM server; 64 bit; Centos 5.2 server

In easyapache i have selected imap to be compiled in...

Problem:

When logging into Horde it get the following

A fatal error has occurred
Auth_imap: Required IMAP extension not found.
Details have been logged for the administrator.

php -m | grep imap

Shows nothing loaded. I am completely stumped with this, can anyone help ?

Also its not just Horde, but any PHP code using imap, its almost as if its not compiled in at all.

View 2 Replies View Related

Is 1 Hour Downtime Required For Installing Firewall?

Aug 4, 2008

Is 1 hour network reconfiguration downtime unavoidable with every Hosting Provider?


Today I got explanation from RackSpace why they needed to bring my server down for an hour when they install Hardware firewall (see below).


Could you comment if it's really necessary have 1 hour downtime in that case?

Here's how I see appropriate maintenance:
- Install and plug Firewall's power and external network cable without touching production server (no downtime yet).
- Connect test machine behind firewall and test if firewall works properly (no downtime yet).
- Switch network cable so it connects Production server to Hardware Firewall (20 seconds downtime).

Why couldn't the maintenance be done that way?



Anyway, here's response from RackSpace:
=======
I have answered questions 1-3 below and will be passing this ticket over to our network technicians in order to get questions 4-6 answered for you.

1) Why installing hardware firewall brought my server down by almost an hour? When working this type of maintenance to add firewall:

1. Mark ticket In Progress
2. Grab parts for maintenance
3. Put Public comment in ticket we are starting maintenance.
4. Log into server(at console or remotely).
5. Verify if other users are logged in.
5a. If users are logged in, we send them a message stating server is shutting down in X minutes.
5b. If no users are logged in, go to next step.
6. Shut server down.
7. Open the server.
8. Remove back plate from an open PCI slot.
9. Install PIX 501 card into PCI slot.
10. Screw PIX 501 power supply card in place.
11. Find open Powersupply connection and connect it to back of PIX 501 power card, since this will provide power for firewall.
12. Put side panel back on whitebox.
13. Install the firewall below the rack. We have to mount it to the rack the whitebox sits on. These are racked underneath the rack for each whitebox server. We use zip ties to hold it to the rack in place.
14. Put server back on rack.
15. Plug in power and network connections.
16. Connect console to server and verify server boots up fine.
17. Log in at console and verify it can ping NAT Gateway IP(192.168.100.1)
18. Verify if server can pint out to google or some other site

19. If we are unable to ping out or ping gateway IP, we will have to double check network connections and work with NetSec to resolve issues. This could be port speed issue since the PIX 501 firewalls require the port speed to be at 10Mb.

20. If server is pinging out fine, DCOPS will come back into DCOPS room and verify we can get to server remotely.
21. If server is not remotely accessible, we will have to go back to console and see if they are running any firewall software that is preventing access or if port RDP is using is changed.
21. Change status of server to online complete.
22. Send Public comment stating server is back online.
23. Close ticket.
24. Route Contract Received ticket for firewall over to Network Security to have them online firewall.

Downtime was necessary to install PIX 501 power card since the firewall gets power through this card.

2) How 1 hour downtime goes together with "Zero downtime" RackSpace slogan? Zero downtime means that your network will be up 100% of the time. However when upgrading your configuration (adding a firewall) there needs to be a certain amount of downtime in order to add this firewall to your configuration. Whenever a hardware upgrade is made there will be hardware downtime involved. The amount of time will vary depending on the hardware upgrade.

3) Why the length of downtime was communicated to me only at the beginning of downtime, and not some time prior to that? As we spoke about over the phone today I apologized for XXX not conveying the amount of downtime you will have during this maintenance. I have already spoken with him about this and moving forward if there are any maintenances that need to take place on your account your new Account Manager YYY and XXX will make sure and go into exact detail about the amount of downtime you should expect. Consider this mis-communication taken care of from now on.
=======


Is it really necessary to shut down production server just to plug Hardware Firewall power?

View 14 Replies View Related







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