Consultez la FAQ sur le ZF avant de poster une question
Vous n'êtes pas identifié.
Bonjour à tous,
J'ai fait un site en Zend qui est actuellement sur ma machine en local.
Je voudrais le deploier chez un hoster gratuit mais j'en trouve pas qui on le mod_rewrite activé.
Pour tester si c'est activé, j'ai ajouter sur le site actuelle (http://www.multimania.lycos.fr/)
.htaccess
SetEnv APPLICATION_ENV development RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L]
index.html
<html> <body> <h1>It works!</h1> <?php echo 'APPLICATION_ENV:'.getenv('APPLICATION_ENV'); ?> <?php phpinfo(); ?> </body></html>
Quand je vais sur la page, j'ai
It works! APPLICATION_ENV: PHP4u Version 3.0 Based on PHP-4.4.6 Better, Faster, Cooler. ;o) System Linux wmphpf05.tmm.cvsn.de 2.6.8-4-686-smp #1 SMP Wed Feb 20 04:58:28 UTC 2008 i686 Build Date Mar 22 2007 11:29:08 Configure Command './configure' '--bindir=/data/apache/cgi-bin' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib=/usr' '--with-bz2=/usr' '--with-tiff-dir=/usr' '--with-zip' '--with-gd=/usr' '--with-ttf=/usr/include/freetype2/freetype' '--with-freetype-dir=/usr' '--with-mhash' '--with-dom=/usr' '--with-ming=/usr' '--without-pear' '--enable-gd-native-ttf' '--enable-calendar' '--enable-bcmath' '--enable-safe-mode' '--enable-memory-limit' '--enable-trans-sid' '--disable-posix' '--enable-sockets' '--with-mysql=/usr' '--enable-force-cgi-redirect' '--with-clibpdf' '--with-ftp' '--with-imap' '--with-kerberos' '--with-gettext' '--with-mcrypt=/usr' '--with-mime-magic' '--with-xml-rpc' '--with-pspell' '--with-mcal-dir=/usr' '--enable-mbstring=all' '--enable-mbregex' '--with-openssl=/usr' '--with-imap-ssl=/usr' '--enable-xslt' '--with-xslt-sablot' '--enable-ftp' '--with-iconv' '--with-xmlrpc' '--with-xpm-dir' '--without-cli' '--enable-soap' '--enable-lzf' '--enable-mailparse' '--enable-id3' Server API CGI Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib Zend logo This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies PHP Credits Configuration PHP Core Directive Local Value Master Value allow_call_time_pass_reference On On allow_url_fopen Off Off always_populate_raw_post_data Off Off arg_separator.input & & arg_separator.output & & asp_tags Off Off auto_append_file /data/apache/php/mmp_lib/append.php /data/apache/php/mmp_lib/append.php auto_prepend_file /data/apache/php/mmp_lib/prepend.php /data/apache/php/mmp_lib/prepend.php 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 highlight_file,diskfreespace, exec, passthru, system, popen, fsockopen, pfsockopen, show_source, php_uname, ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmygid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail, stream_bucket_append, stream_bucket_make_writeable, stream_bucket_new, stream_bucket_prepend, stream_context_create, stream_context_get_default, stream_context_get_options, stream_context_set_option, stream_context_set_params, stream_copy_to_stream, stream_encoding, stream_filter_append, stream_filter_prepend, stream_filter_register, stream_filter_remove, stream_get_contents, stream_get_filters, stream_get_line, stream_get_meta_data, stream_get_transports, stream_get_wrappers, stream_register_wrapper, stream_resolve_include_path, stream_select, stream_set_blocking, stream_set_timeout, stream_set_write_buffer, stream_socket_accept, stream_socket_client, stream_socket_enable_crypto, stream_socket_get_name, stream_socket_pair, stream_socket_recvfrom, stream_socket_sendto, stream_socket_server, stream_socket_shutdown, stream_wrapper_register, stream_wrapper_restore, stream_wrapper_unregister, shell_exec, error_log, openlog, syslog, apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, virtual, socket_create, socket_write, pcntl_exec, proc_nice, proc_open, proc_terminate, pfsockopenproc_nice highlight_file,diskfreespace, exec, passthru, system, popen, fsockopen, pfsockopen, show_source, php_uname, ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmygid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail, stream_bucket_append, stream_bucket_make_writeable, stream_bucket_new, stream_bucket_prepend, stream_context_create, stream_context_get_default, stream_context_get_options, stream_context_set_option, stream_context_set_params, stream_copy_to_stream, stream_encoding, stream_filter_append, stream_filter_prepend, stream_filter_register, stream_filter_remove, stream_get_contents, stream_get_filters, stream_get_line, stream_get_meta_data, stream_get_transports, stream_get_wrappers, stream_register_wrapper, stream_resolve_include_path, stream_select, stream_set_blocking, stream_set_timeout, stream_set_write_buffer, stream_socket_accept, stream_socket_client, stream_socket_enable_crypto, stream_socket_get_name, stream_socket_pair, stream_socket_recvfrom, stream_socket_sendto, stream_socket_server, stream_socket_shutdown, stream_wrapper_register, stream_wrapper_restore, stream_wrapper_unregister, shell_exec, error_log, openlog, syslog, apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, virtual, socket_create, socket_write, pcntl_exec, proc_nice, proc_open, proc_terminate, pfsockopenproc_nice display_errors On On display_startup_errors On On doc_root no value no value docref_ext no value no value docref_root no value no value enable_dl Off Off error_append_string no value no value error_log no value no value error_prepend_string no value no value error_reporting 2037 2037 expose_php On On extension_dir ./ ./ file_uploads On On gpc_order GPC GPC 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 .:/data/apache/php/mmp_lib .:/data/apache/php/mmp_lib log_errors Off Off log_errors_max_len 1024 1024 magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off max_execution_time 10 10 max_input_time -1 -1 memory_limit 16777216 16777216 open_basedir no value no value output_buffering no value no value output_handler no value no value post_max_size 512000 512000 precision 14 14 register_argc_argv On On register_globals On On report_memleaks On On safe_mode On On safe_mode_exec_dir /data/apache/php/safe_exec /data/apache/php/safe_exec safe_mode_gid Off Off safe_mode_include_dir /data/apache/php/mmp_lib /data/apache/php/mmp_lib sendmail_from no value no value sendmail_path /usr/sbin/sendmail -t -f tripod@mail-return.hpb.lyceu.net /usr/sbin/sendmail -t -f tripod@mail-return.hpb.lyceu.net 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 4000000 4000000 upload_tmp_dir /tmp /tmp user_dir no value no value variables_order EGPCS EGPCS xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance Off Off bcmath BCMath support enabled bz2 BZip2 Support Enabled BZip2 Version 1.0.2, 30-Dec-2001 calendar Calendar support enabled ctype ctype functions enabled domxml DOM/XML enabled DOM/XML API Version 20020815 libxml Version 20616 HTML Support enabled XPath Support enabled XPointer Support enabled ftp FTP support enabled gd GD Support enabled GD Version 2.0 or higher FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled gettext GetText Support enabled iconv iconv support enabled iconv implementation glibc iconv library version 2.3.2 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 2001 SSL Support enabled Kerberos Support enabled mbstring Multibyte Support enabled Japanese support enabled Simplified chinese support enabled Traditional chinese support enabled Korean support enabled Russian support enabled Multibyte (japanese) regex support enabled 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 ISO-8859-1 no value mbstring.language neutral neutral mbstring.substitute_character no value no value mcrypt mcrypt support enabled version >= 2.4.x 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 20020524 mime_magic mime_magic support enabled Directive Local Value Master Value mime_magic.magicfile no value no value ming Ming SWF output library enabled Version 0.3a mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 4.0.24 MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/run/mysqld/mysqld.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib -lmysqlclient Directive Local Value Master Value mysql.allow_persistent Off Off 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 3 3 mysql.max_persistent 0 0 mysql.trace_mode Off Off openssl OpenSSL support enabled OpenSSL Version OpenSSL 0.9.7e 25 Oct 2004 overload User-Space Object Overloading Support enabled pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 7.0 18-Dec-2006 pspell PSpell Support enabled session Session Support enabled Registered save handlers files user 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_lifetime 3600 3600 session.cookie_path no value no value session.cookie_secure Off Off session.entropy_file /dev/urandom /dev/urandom session.entropy_length 16 16 session.gc_divisor 100 100 session.gc_maxlifetime 1200 1200 session.gc_probability 0 0 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path 3;/data/session 3;/data/session session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid Off Off sockets Sockets Support enabled standard Regex Library Bundled library enabled Dynamic Library Support enabled Path to sendmail /usr/sbin/sendmail -t -f tripod@mail-return.hpb.lyceu.net Directive Local Value Master Value assert.active 1 1 assert.bail no value no value assert.callback 0 0 assert.quiet_eval 1 1 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,form=,fieldset= a=href,area=href,frame=src,form=,fieldset= user_agent no value no value tokenizer Tokenizer Support enabled xml XML Support active XML Namespace Support active EXPAT Version 1.95.6 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 xslt XSLT support enabled Backend Sablotron Sablotron Version 1.0 zip Zip support enabled zlib ZLib Support enabled Compiled Version 1.2.2 Linked Version 1.2.2 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 Environment Variable Value DOCUMENT_ROOT /data/fakeroot HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING gzip,deflate HTTP_ACCEPT_LANGUAGE fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3 HTTP_CONNECTION close HTTP_COOKIE __utma=173300784.357270940.1255774753.1255787983.1256370504.3; __utmz=173300784.1255787983.2.2.utmcsr=multimania.lycos.fr|utmccn=(referral)|utmcmd=referral|utmcct=/myaccount/; Apache=81.243.119.164.1256370503777653; __utmb=173300784.1.10.1256370504; __utmc=173300784 HTTP_HOST php-fr.tmm.cvsn.de HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14 HTTP_X_FORWARDED_FOR 81.243.119.164 HTTP_X_FORWARDED_HOST boxshopping.cfun.fr HTTP_X_FORWARDED_SERVER fundomains.tmm.lyceu.net PATH /bin:/usr/bin:/sbin:/usr/sbin REDIRECT_APPLICATION_ENV development REDIRECT_SCRIPT_URI http://php-fr.tmm.cvsn.de/multimania/fr/boxshopping/index.php REDIRECT_SCRIPT_URL /multimania/fr/boxshopping/index.php REDIRECT_STATUS 200 REDIRECT_URL /multimania/fr/boxshopping/index.php REMOTE_ADDR 213.131.252.130 REMOTE_PORT 53904 SCRIPT_FILENAME /data/apache/cgi-bin/php_free SCRIPT_URI http://php-fr.tmm.cvsn.de/multimania/fr/boxshopping/index.php SCRIPT_URL /multimania/fr/boxshopping/index.php SERVER_ADDR 213.131.252.250 SERVER_ADMIN webadmin-fr@lycos-europe.de SERVER_NAME php-fr.tmm.cvsn.de SERVER_PORT 80 SERVER_SIGNATURE no value SERVER_SOFTWARE Apache/1.3.28 (Unix) GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING no value REQUEST_URI /multimania/fr/boxshopping/index.php SCRIPT_NAME /cgi-bin/php_free PATH_INFO /multimania/fr/boxshopping/index.php PATH_TRANSLATED /data/members/free/multimania/fr/b/o/x/boxshopping/htdocs/index.php PHP Variables Variable Value PHP_SELF /index.php _REQUEST["__utma"] 173300784.357270940.1255774753.1255787983.1256370504.3 _REQUEST["__utmz"] 173300784.1255787983.2.2.utmcsr=multimania.lycos.fr|utmccn=(referral)|utmcmd=referral|utmcct=/myaccount/ _REQUEST["Apache"] 81.243.119.164.1256370503777653 _REQUEST["__utmb"] 173300784.1.10.1256370504 _REQUEST["__utmc"] 173300784 _COOKIE["__utma"] 173300784.357270940.1255774753.1255787983.1256370504.3 _COOKIE["__utmz"] 173300784.1255787983.2.2.utmcsr=multimania.lycos.fr|utmccn=(referral)|utmcmd=referral|utmcct=/myaccount/ _COOKIE["Apache"] 81.243.119.164.1256370503777653 _COOKIE["__utmb"] 173300784.1.10.1256370504 _COOKIE["__utmc"] 173300784 _SERVER["DOCUMENT_ROOT"] /data/members/free/multimania/fr/b/o/x/boxshopping/htdocs/ _SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 _SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7 _SERVER["HTTP_ACCEPT_LANGUAGE"] fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3 _SERVER["HTTP_CONNECTION"] close _SERVER["HTTP_COOKIE"] __utma=173300784.357270940.1255774753.1255787983.1256370504.3; __utmz=173300784.1255787983.2.2.utmcsr=multimania.lycos.fr|utmccn=(referral)|utmcmd=referral|utmcct=/myaccount/; Apache=81.243.119.164.1256370503777653; __utmb=173300784.1.10.1256370504; __utmc=173300784 _SERVER["HTTP_HOST"] boxshopping.cfun.fr _SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14 _SERVER["HTTP_X_FORWARDED_FOR"] 81.243.119.164 _SERVER["HTTP_X_FORWARDED_HOST"] boxshopping.cfun.fr _SERVER["PATH"] /bin:/usr/bin:/sbin:/usr/sbin _SERVER["REDIRECT_APPLICATION_ENV"] development _SERVER["REDIRECT_SCRIPT_URI"] http://boxshopping.cfun.fr/index.php _SERVER["REDIRECT_SCRIPT_URL"] /index.php _SERVER["REDIRECT_STATUS"] 200 _SERVER["REDIRECT_URL"] /index.php _SERVER["REMOTE_ADDR"] 81.243.119.164 _SERVER["REMOTE_PORT"] 53904 _SERVER["SCRIPT_FILENAME"] /data/members/free/multimania/fr/b/o/x/boxshopping/htdocs/index.php _SERVER["SCRIPT_URI"] http://boxshopping.cfun.fr/index.php _SERVER["SCRIPT_URL"] /index.php _SERVER["SERVER_ADDR"] 213.131.252.250 _SERVER["SERVER_ADMIN"] webadmin-fr@lycos-europe.de _SERVER["SERVER_NAME"] boxshopping.cfun.fr _SERVER["SERVER_PORT"] 80 _SERVER["SERVER_SIGNATURE"] no value _SERVER["SERVER_SOFTWARE"] Apache (UNIX) _SERVER["GATEWAY_INTERFACE"] CGI/1.1 _SERVER["SERVER_PROTOCOL"] HTTP/1.1 _SERVER["REQUEST_METHOD"] GET _SERVER["QUERY_STRING"] no value _SERVER["REQUEST_URI"] /index.php _SERVER["SCRIPT_NAME"] index.php _SERVER["PATH_INFO"] /index.php _SERVER["PATH_TRANSLATED"] /data/members/free/multimania/fr/b/o/x/boxshopping/htdocs/index.php _SERVER["PHP_SELF"] /index.php _SERVER["argv"] Array ( ) _SERVER["argc"] 0 _ENV["DOCUMENT_ROOT"] /data/members/free/multimania/fr/b/o/x/boxshopping/htdocs/ _ENV["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 _ENV["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7 _ENV["HTTP_ACCEPT_ENCODING"] no value _ENV["HTTP_ACCEPT_LANGUAGE"] fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3 _ENV["HTTP_CONNECTION"] close _ENV["HTTP_COOKIE"] __utma=173300784.357270940.1255774753.1255787983.1256370504.3; __utmz=173300784.1255787983.2.2.utmcsr=multimania.lycos.fr|utmccn=(referral)|utmcmd=referral|utmcct=/myaccount/; Apache=81.243.119.164.1256370503777653; __utmb=173300784.1.10.1256370504; __utmc=173300784 _ENV["HTTP_HOST"] boxshopping.cfun.fr _ENV["HTTP_USER_AGENT"] Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14 _ENV["HTTP_X_FORWARDED_FOR"] 81.243.119.164 _ENV["HTTP_X_FORWARDED_HOST"] boxshopping.cfun.fr _ENV["HTTP_X_FORWARDED_SERVER"] no value _ENV["PATH"] /bin:/usr/bin:/sbin:/usr/sbin _ENV["REDIRECT_APPLICATION_ENV"] development _ENV["REDIRECT_SCRIPT_URI"] http://boxshopping.cfun.fr/index.php _ENV["REDIRECT_SCRIPT_URL"] /index.php _ENV["REDIRECT_STATUS"] 200 _ENV["REDIRECT_URL"] /index.php _ENV["REMOTE_ADDR"] 81.243.119.164 _ENV["REMOTE_PORT"] 53904 _ENV["SCRIPT_FILENAME"] /data/members/free/multimania/fr/b/o/x/boxshopping/htdocs/index.php _ENV["SCRIPT_URI"] http://boxshopping.cfun.fr/index.php _ENV["SCRIPT_URL"] /index.php _ENV["SERVER_ADDR"] 213.131.252.250 _ENV["SERVER_ADMIN"] webadmin-fr@lycos-europe.de _ENV["SERVER_NAME"] boxshopping.cfun.fr _ENV["SERVER_PORT"] 80 _ENV["SERVER_SIGNATURE"] no value _ENV["SERVER_SOFTWARE"] Apache (UNIX) _ENV["GATEWAY_INTERFACE"] CGI/1.1 _ENV["SERVER_PROTOCOL"] HTTP/1.1 _ENV["REQUEST_METHOD"] GET _ENV["QUERY_STRING"] no value _ENV["REQUEST_URI"] /index.php _ENV["SCRIPT_NAME"] index.php _ENV["PATH_INFO"] /index.php _ENV["PATH_TRANSLATED"] /data/members/free/multimania/fr/b/o/x/boxshopping/htdocs/index.php 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.
J'ai donc l'impression qu'il ne marche pas avec mod_rewrite.
Y a t il un hoster qui le fait ?
Hors ligne
Franchement pour trouver un "hoster" gratuit qui permet de bien gérer son appli sous Zf c'est pas évident.
Puis pour le prix de 1 café par semaine en terasse, tu peux trouver un serveur.
Hors ligne
Tu sais m'en conseiller un ?
Hors ligne