.htaccess file doesn't work.. - Joomla! Forum - community, help and support
i busy trying sef functionality working.
i renamed .htaccess.txt file .htaccess, file not work.
below results of php info:
so seems mod_rewrite loaded. if make redirection .htaccess file google.com in root of directory, works. making other .htaccess file in directory not work.
does knows how change that? joomla directory in /homepage/ , not in root, , used .htaccessfile is:
thnx
i renamed .htaccess.txt file .htaccess, file not work.
below results of php info:
code: select all
php version 4.3.11
system linux server.bene.lan 2.6.9-27.cc #1 mon oct 24 18:48:25 edt 2005 i686
build date dec 1 2005 18:53:00
configure command './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=gnu' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixodbc=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mime-magic=/usr/share/file/magic.mime' '--with-pic' '--with-apxs2=/usr/sbin/apxs'
server api apache 2.0 handler
virtual directory support disabled
configuration file (php.ini) path /etc/php.ini
scan dir additional .ini files /etc/php.d
additional .ini files parsed /etc/php.d/imap.ini, /etc/php.d/mysql.ini
php api 20020918
php extension 20020429
zend extension 20021010
debug build no
thread safety disabled
registered php streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib
this program makes use of zend scripting language engine:
zend engine v1.3.0, copyright (c) 1998-2004 zend technologies
configuration
php core
directive local value master value
allow_call_time_pass_reference off off
allow_url_fopen on on
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_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 off off
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 no value no value
error_prepend_string no value no value
error_reporting 2047 2047
expose_php on on
extension_dir /usr/lib/php4 /usr/lib/php4
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 .:/usr/share/pear .:/usr/share/pear
log_errors on on
log_errors_max_len 1024 1024
magic_quotes_gpc off off
magic_quotes_runtime off off
magic_quotes_sybase off off
max_execution_time 30 30
max_input_time 60 60
memory_limit 16m 16m
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8m 8m
precision 14 14
register_argc_argv on on
register_globals off off
report_memleaks 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 5m 5m
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
apache2handler
apache version apache
apache api version 20020903
server administrator barendvermeulen@hotmail.com
hostname:port localhost.localdomain:0
user/group apache(48)/48
max requests per child: 4000 - keep alive: off - max per connection: 100
timeouts connection: 300 - keep-alive: 15
virtual server yes
server root /etc/httpd
loaded modules core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest mod_include mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy proxy_ftp proxy_http proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi sapi_apache2 mod_ssl
directive local value master value
engine 1 1
last_modified 0 0
xbithack 0 0
so seems mod_rewrite loaded. if make redirection .htaccess file google.com in root of directory, works. making other .htaccess file in directory not work.
does knows how change that? joomla directory in /homepage/ , not in root, , used .htaccessfile is:
code: select all
##
# @version $id: htaccess.txt 1570 2005-12-29 05:53:33z eddieajau $
# @package joomla
# @copyright copyright (c) 2005 open source matters. rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html gnu/gpl
# joomla! free software
##
options +followsymlinks
#
# mod_rewrite in use
#
rewriteengine off
##
## note!
## when using multiple joomla sites or other web applications in sub-folders,
## must explicitly turn rewriteengine off or use settings
## recommended application
##
# uncomment following line if webserver's url
# not directly related physical file paths.
# update yourjoomladirectory (just / root)
# rewritebase /barendvermeulen.nl
#
# rules
#
rewritecond %{request_filename} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
rewritecond %{request_filename} !-f
rewritecond %{request_filename} !-d
rewriterule ^(.*) index.php
thnx
Comments
Post a Comment