用户
 找回密码
 入住 CI 中国社区
搜索
查看: 565222|回复: 15
收起左侧

[HELP] URL 重写 发生诡异问题

  [复制链接]
发表于 2010-4-14 16:33:43 | 显示全部楼层 |阅读模式
我在 CI 做好一个项目

本地 url 重写,隐藏了  index.php 。。。

本地正常可以。。。


但是,放到 服务器上 重写 url 是显示正确的 url,也隐藏了 index.php

但是页面内容一直显示为 主页

即是:url 己经跳了,也隐藏了 index.php

但是,页面内容并没显示,一直在主页里,只有刷新一下。

_________________  我的 .htaccess 文件如下_____________

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond $1 !^(index\.php|images|style|js|system)
    RewriteRule ^(.*)$ /index.php/$1
</IfModule>

_______________________________________________

还有,我的 .htaccess 是保存成 ansi 的。保存成 utf 的,会没用。
发表于 2010-4-14 16:44:14 | 显示全部楼层
英文不分 utf8 还是 ansi  

我觉得是你的服务器不支持 path_info 吧?
 楼主| 发表于 2010-4-14 17:04:22 | 显示全部楼层
这个支持的,之前也可以,但现在重新传项目就不行了。本地都正常的。
发表于 2010-4-14 17:08:29 | 显示全部楼层
那贴一下 phpinfo() 看一下
肯定是服务器的问题。
 楼主| 发表于 2010-4-14 17:13:29 | 显示全部楼层
这里是我的 phpinfo

HTML复制代码
PHP Version 5.2.11
 
System  Linux cl45.justhost.com 2.6.31.9-grsec #1 SMP Thu Feb 25 02:14:17 CST 2010 x86_64  
Build Date  Oct 5 2009 09:06:07  
Configure Command  './configure' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'  
Server API  CGI  
Virtual Directory Support  disabled  
Configuration File (php.ini) Path  /usr/lib  
Loaded Configuration File  /usr/local/lib/php.ini  
Scan this dir for additional .ini files  (none)  
additional .ini files parsed  (none)  
PHP API  20041225  
PHP Extension  20060613  
Zend Extension  220060519  
Debug Build  no  
Thread Safety  disabled  
Zend Memory Manager  enabled  
IPv6 Support  enabled  
Registered PHP Streams  https, ftps, compress.zlib, php, file, data, http, ftp, zip  
Registered Stream Socket Transports  tcp, udp, unix, udg, ssl, sslv3, sslv2, tls  
Registered Stream Filters  zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed  
 
 This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with the ionCube PHP Loader v3.3.10, Copyright (c) 2002-2009, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
 
 
 
--------------------------------------------------------------------------------
 
PHP Credits
 
--------------------------------------------------------------------------------
 
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors STDOUT STDOUT
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log error_log error_log
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20060613 /usr/local/lib/php/extensions/no-debug-non-zts-20060613
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/lib/php:/usr/local/lib/php .:/usr/lib/php:/usr/local/lib/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 64M 64M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 10M 10M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off
 
 
bcmath
BCMath support  enabled  
 
 
calendar
Calendar support  enabled  
 
 
cgi
Directive Local Value Master Value
cgi.check_shebang_line 1 1
cgi.fix_pathinfo 1 1
cgi.nph 0 0
cgi.rfc2616_headers 0 0
 
 
ctype
ctype functions  enabled  
 
 
curl
cURL support  enabled  
cURL Information  libcurl/7.19.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5  
 
 
date
date/time support  enabled  
"Olson" Timezone Database Version  2009.13  
Timezone Database  internal  
Default timezone  America/Chicago  
 
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value
 
 
dom
DOM/XML  enabled  
DOM/XML API Version  20031129  
libxml Version  2.7.3  
HTML Support  enabled  
XPath Support  enabled  
XPointer Support  enabled  
Schema Support  enabled  
RelaxNG Support  enabled  
 
 
exif
EXIF Support  enabled  
EXIF Version  1.4 $Id: exif.c 287371 2009-08-16 14:31:27Z iliaa $  
Supported EXIF Version  0220  
Supported filetypes  JPEG,TIFF  
 
 
filter
Input Validation and Filtering  enabled  
Revision  $Revision: 288083 $  
 
Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value
 
 
ftp
FTP support  enabled  
 
 
gd
GD Support  enabled  
GD Version  bundled (2.0.34 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
FreeType Version  2.2.1  
GIF Read Support  enabled  
GIF Create Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XPM Support  enabled  
XBM Support  enabled  
 
 
gettext
GetText Support  enabled  
 
 
hash
hash support  enabled  
Hashing Engines  md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5  
 
 
iconv
iconv support  enabled  
iconv implementation  glibc  
iconv library version  2.5  
 
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
 
 
imap
IMAP c-Client Version  2006k  
SSL Support  enabled  
Kerberos Support  enabled  
 
 
json
json support  enabled  
json version  1.2.1  
 
 
libxml
libXML support  active  
libXML Version  2.7.3  
libXML streams  enabled  
 
 
mbstring
Multibyte Support  enabled  
Multibyte string engine  libmbfl  
Multibyte (japanese) regex support  enabled  
Multibyte regex (oniguruma) version  4.4.4  
Multibyte regex (oniguruma) backtrack check  On  
 
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
 
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value
 
 
mcrypt
mcrypt support enabled
Version  2.5.8  
Api No  20021217  
Supported ciphers  cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes  
Supported modes  cbc cfb ctr ecb ncfb nofb ofb stream  
 
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
 
 
mhash
MHASH support  Enabled  
MHASH API Version  20060101  
 
 
mysql
MySQL Support enabled
Active Persistent Links  0  
Active Links  0  
Client API version  5.0.89  
MYSQL_MODULE_TYPE  external  
MYSQL_SOCKET  /var/lib/mysql/mysql.sock  
MYSQL_INCLUDE  -I/usr/include/mysql  
MYSQL_LIBS  -L/usr/lib64 -lmysqlclient  
 
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
 
 
mysqli
MysqlI Support enabled
Client API library version  5.0.89  
Client API header version  5.0.81  
MYSQLI_SOCKET  /var/lib/mysql/mysql.sock  
 
Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
 
 
openssl
OpenSSL support  enabled  
OpenSSL Version  OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008  
 
 
pcre
PCRE (Perl Compatible Regular Expressions) Support  enabled  
PCRE Library Version  7.9 2009-04-11  
 
Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000
 
 
PDO
PDO support enabled
PDO drivers  sqlite, sqlite2, mysql  
 
 
pdo_mysql
PDO Driver for MySQL, client library version 5.0.89
 
 
pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version  (bundled) 1.0.1 $Id: pdo_sqlite.c 272374 2008-12-31 11:17:49Z sebastian $  
SQLite Library  3.3.7  
 
 
posix
Revision  $Revision: 286880 $  
 
 
pspell
PSpell Support  enabled  
 
 
Reflection
Reflection enabled
Version  $Id: php_reflection.c 287991 2009-09-03 14:02:51Z sebastian $  
 
 
session
Session Support  enabled  
Registered save handlers  files user sqlite  
Registered serializer handlers  php php_binary  
 
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
 
 
SimpleXML
Simplexml support enabled
Revision  $Revision: 272374 $  
Schema support  enabled  
 
 
soap
Soap Client  enabled  
Soap Server  enabled  
 
Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400
 
 
sockets
Sockets Support  enabled  
 
 
SourceGuardian
SourceGuardian Loader Support  enabled  
SourceGuardian Loader Version  7.0.2  
SourceGuardian Loader Build Number  0x0000000C  
phpSHIELD Support  enabled  
 
Directive Local Value Master Value
sourceguardian.restrict_unencoded 0 0
 
 
SPL
SPL support enabled
Interfaces  Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject  
Classes  AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException  
 
 
SQLite
SQLite support enabled
PECL Module version  2.0-dev $Id: sqlite.c 282740 2009-06-25 00:07:20Z scottmac $  
SQLite Library  2.8.17  
SQLite Encoding  iso8859  
 
Directive Local Value Master Value
sqlite.assoc_case 0 0
 
 
standard
Regex Library  Bundled library enabled  
Dynamic Library Support  enabled  
Path to sendmail  /usr/sbin/sendmail -t -i  
 
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
 
 
tokenizer
Tokenizer Support  enabled  
 
 
xml
XML Support  active  
XML Namespace Support  active  
EXPAT Version  expat_1.95.8  
 
 
xmlreader
XMLReader  enabled  
 
 
xmlrpc
core library version  xmlrpc-epi v. 0.51  
php extension version  0.51  
author  Dan Libby  
homepage  http://xmlrpc-epi.sourceforge.net  
open sourced by  Epinions.com  
 
 
xmlwriter
XMLWriter  enabled  
 
 
xsl
XSL  enabled  
libxslt Version  1.1.24  
libxslt compiled against libxml Version  2.7.3  
EXSLT  enabled  
libexslt Version  1.1.24  
 
 
Zend Optimizer
Optimization Pass 1  enabled  
Optimization Pass 2  enabled  
Optimization Pass 3  enabled  
Optimization Pass 4  enabled  
Optimization Pass 9  enabled  
Zend Loader  enabled  
License Path  no value  
Obfuscation level  3  
 
 
zip
Zip  enabled  
Extension Version  $Id: php_zip.c 287723 2009-08-26 02:16:41Z guenter $  
Zip version  1.8.11  
Libzip version  0.9.0  
 
 
zlib
ZLib Support  enabled  
Stream Wrapper support  compress.zlib://  
Stream Filter support  zlib.inflate, zlib.deflate  
Compiled Version  1.2.3  
Linked Version  1.2.3  
 
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
 
 
Additional Modules
Module Name
ionCube Loader
 
 
Environment
Variable Value
DOCUMENT_ROOT  /home/plasti15/public_html  
GATEWAY_INTERFACE  CGI/1.1  
HTTP_ACCEPT  image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*  
HTTP_ACCEPT_ENCODING  gzip, deflate  
HTTP_ACCEPT_LANGUAGE  zh-cn  
HTTP_CONNECTION  Keep-Alive  
HTTP_COOKIE  ci_session=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%228fdcb612a4ef25af890ba38edac2f089%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A12%3A%22183.4.17.228%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A50%3A%22Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Windows+NT+5.1%3B%22%3Bs%3A13%3A%22last_activity%22%3Bs%3A10%3A%221271236307%22%3B%7Dc298a29ef64dda191fdcba1e28bd8fd2; __utma=237888577.1688865510.1271229009.1271229009.1271231363.2; __utmc=237888577; __utmz=237888577.1271229009.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=237888577.79.10.1271231363; ci_session=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22cb806122231c61044d3ad781acc2c989%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A12%3A%22183.4.17.228%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A50%3A%22Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Windows+NT+5.1%3B%22%3Bs%3A13%3A%22last_activity%22%3Bs%3A10%3A%221271235461%22%3B%7D94c27e8255d20d185f19452edd1dab64  
HTTP_HOST  www.plasticcard-printing.com  
HTTP_USER_AGENT  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TheWorld)  
PATH  /bin:/usr/bin  
QUERY_STRING  no value  
REDIRECT_STATUS  200  
REMOTE_ADDR  183.4.17.228  
REMOTE_PORT  63222  
REQUEST_METHOD  GET  
REQUEST_URI  /info.php  
SCRIPT_FILENAME  /home/plasti15/public_html/info.php  
SCRIPT_NAME  /info.php  
SERVER_ADDR  69.175.51.42  
SERVER_ADMIN  webmaster@plasticcard-printing.com  
SERVER_NAME  www.plasticcard-printing.com  
SERVER_PORT  80  
SERVER_PROTOCOL  HTTP/1.1  
SERVER_SIGNATURE  no value  
SERVER_SOFTWARE  Apache  
UNIQUE_ID  S8WHFEWvMyoAAAixK78AAABc  
 
 
PHP Variables
Variable Value
_REQUEST["ci_session"] a:4:{s:10:\"session_id\";s:32:\"8fdcb612a4ef25af890ba38edac2f089\";s:10:\"ip_address\";s:12:\"183.4.17.228\";s:10:\"user_agent\";s:50:\"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;\";s:13:\"last_activity\";s:10:\"1271236307\";}c298a29ef64dda191fdcba1e28bd8fd2
_REQUEST["__utma"] 237888577.1688865510.1271229009.1271229009.1271231363.2
_REQUEST["__utmc"] 237888577
_REQUEST["__utmz"] 237888577.1271229009.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
_REQUEST["__utmb"] 237888577.79.10.1271231363
_COOKIE["ci_session"] a:4:{s:10:\"session_id\";s:32:\"8fdcb612a4ef25af890ba38edac2f089\";s:10:\"ip_address\";s:12:\"183.4.17.228\";s:10:\"user_agent\";s:50:\"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;\";s:13:\"last_activity\";s:10:\"1271236307\";}c298a29ef64dda191fdcba1e28bd8fd2
_COOKIE["__utma"] 237888577.1688865510.1271229009.1271229009.1271231363.2
_COOKIE["__utmc"] 237888577
_COOKIE["__utmz"] 237888577.1271229009.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
_COOKIE["__utmb"] 237888577.79.10.1271231363
_SERVER["DOCUMENT_ROOT"] /home/plasti15/public_html
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] zh-cn
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_COOKIE"] ci_session=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%228fdcb612a4ef25af890ba38edac2f089%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A12%3A%22183.4.17.228%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A50%3A%22Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Windows+NT+5.1%3B%22%3Bs%3A13%3A%22last_activity%22%3Bs%3A10%3A%221271236307%22%3B%7Dc298a29ef64dda191fdcba1e28bd8fd2; __utma=237888577.1688865510.1271229009.1271229009.1271231363.2; __utmc=237888577; __utmz=237888577.1271229009.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=237888577.79.10.1271231363; ci_session=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22cb806122231c61044d3ad781acc2c989%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A12%3A%22183.4.17.228%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A50%3A%22Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Windows+NT+5.1%3B%22%3Bs%3A13%3A%22last_activity%22%3Bs%3A10%3A%221271235461%22%3B%7D94c27e8255d20d185f19452edd1dab64
_SERVER["HTTP_HOST"] www.plasticcard-printing.com
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TheWorld)
_SERVER["PATH"] /bin:/usr/bin
_SERVER["QUERY_STRING"] no value
_SERVER["REDIRECT_STATUS"] 200
_SERVER["REMOTE_ADDR"] 183.4.17.228
_SERVER["REMOTE_PORT"] 63222
_SERVER["REQUEST_METHOD"] GET
_SERVER["REQUEST_URI"] /info.php
_SERVER["SCRIPT_FILENAME"] /home/plasti15/public_html/info.php
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["SERVER_ADDR"] 69.175.51.42
_SERVER["SERVER_ADMIN"] webmaster@plasticcard-printing.com
_SERVER["SERVER_NAME"] www.plasticcard-printing.com
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache
_SERVER["UNIQUE_ID"] S8WHFEWvMyoAAAixK78AAABc
_SERVER["PHP_SELF"] /info.php
_SERVER["REQUEST_TIME"] 1271236372
_SERVER["argv"] Array
(
)
 
_SERVER["argc"] 0
_ENV["DOCUMENT_ROOT"] /home/plasti15/public_html
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["HTTP_ACCEPT_LANGUAGE"] zh-cn
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["HTTP_COOKIE"] ci_session=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%228fdcb612a4ef25af890ba38edac2f089%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A12%3A%22183.4.17.228%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A50%3A%22Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Windows+NT+5.1%3B%22%3Bs%3A13%3A%22last_activity%22%3Bs%3A10%3A%221271236307%22%3B%7Dc298a29ef64dda191fdcba1e28bd8fd2; __utma=237888577.1688865510.1271229009.1271229009.1271231363.2; __utmc=237888577; __utmz=237888577.1271229009.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=237888577.79.10.1271231363; ci_session=a%3A4%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22cb806122231c61044d3ad781acc2c989%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A12%3A%22183.4.17.228%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A50%3A%22Mozilla%2F4.0+%28compatible%3B+MSIE+6.0%3B+Windows+NT+5.1%3B%22%3Bs%3A13%3A%22last_activity%22%3Bs%3A10%3A%221271235461%22%3B%7D94c27e8255d20d185f19452edd1dab64
_ENV["HTTP_HOST"] www.plasticcard-printing.com
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TheWorld)
_ENV["PATH"] /bin:/usr/bin
_ENV["QUERY_STRING"] no value
_ENV["REDIRECT_STATUS"] 200
_ENV["REMOTE_ADDR"] 183.4.17.228
_ENV["REMOTE_PORT"] 63222
_ENV["REQUEST_METHOD"] GET
_ENV["REQUEST_URI"] /info.php
_ENV["SCRIPT_FILENAME"] /home/plasti15/public_html/info.php
_ENV["SCRIPT_NAME"] /info.php
_ENV["SERVER_ADDR"] 69.175.51.42
_ENV["SERVER_ADMIN"] webmaster@plasticcard-printing.com
_ENV["SERVER_NAME"] www.plasticcard-printing.com
_ENV["SERVER_PORT"] 80
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["SERVER_SIGNATURE"] no value
_ENV["SERVER_SOFTWARE"] Apache
_ENV["UNIQUE_ID"] S8WHFEWvMyoAAAixK78AAABc
 
 
PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
 
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
 
 
 
>
复制代码
发表于 2010-4-14 17:28:36 | 显示全部楼层
和我遇到的问题一样,最近都在找解决方案,不知你是否找到了问题所在。

顺便说一下,我用的是万网的M3的空间。
发表于 2010-4-14 17:32:19 | 显示全部楼层
我的状况是:以前系统在国外的空间,一切都没问题,我为了提供访问速度迁回到国内,一摸一样的程序就出了和你描述一样的问题,只要我加了.htaccess文件,所有的链接都跳转到主页;去掉.htaccess文件就可以了。非常奇怪。和万网的技术联系他们说他们是支持.htaccess的,而且也给我看了例子,真是奇怪了。这几天为这个事情搞到我头都晕了。
 楼主| 发表于 2010-4-14 17:34:29 | 显示全部楼层
我也是这样原因,我这个服务器是 外国的,具体什么我不清楚,公司早前申请的。

在本地可以,服务器上以前也可以。这段时间就不行了。不知什么原因。
发表于 2010-4-14 18:28:56 | 显示全部楼层
我在国外的申请的是免费的孔家 000webhost的。还不错,就是速度慢了一些。在这个空间上运行我的程序一点问题都没有,换了空间就有问题了。
发表于 2010-4-14 18:46:35 | 显示全部楼层
Hex给看看呀。这个问题我困扰几天了。

本版积分规则