htaccess

Soldato
Joined
4 Jul 2004
Posts
2,647
Location
aberdeen
Hello
I am doing a site for someone, and whenever i try anything like the mod rewrite thing, AddType etc, it comes up with an error, even though the command is correct.

Here are some things about the server, from phpinfo() that may help (didn't want to copy it all...)

SystemLinux rev66.dhcp 2.2.16C28_III #1 Mon Jul 30 22:07:58 PDT 2001 i586 unknown

Build Date
Mar 31 2002

Configure Command './configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-gettext=/usr' '--enable-safe-mode' '--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes' '--with-regex=system' '--with-ttf' '--with-db' '--with-gdbm' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-track-vars' '--enable-wddx=shared' '--enable-mm=shared' '--enable-xml' '--enable-ftp' '--disable-debug' '--with-libdir=/usr/lib' '--with-db3' '--with-interbase=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap' '--with-curl=shared' '--with-pdflib=shared'

Server API
Apache

Virtual Directory Support
disabled

Configuration File (php.ini) Path
/etc/httpd/php.ini

ZEND_DEBUG
disabled

Thread Safety
disabled

Apache VersionApache/1.3.20

Loaded Modulesmod_ssl, mod_php4, mod_casp2, mod_setenvif, mod_unique_id, mod_auth, mod_auth_pam_external, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_frontpage, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_define, mod_env, mod_perl, mod_so, http_core

SERVER_SOFTWAREApache/1.3.20 Sun Cobalt (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.1.2 mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25

The error i get whenever i try anything is:


Any ideas?

BTW what i want to do is either when the user goes to xxx.html, the server retrieves xxx.php, or treat all html files as php. (So that back links still work and i can use php...)
 
Last edited:
Back
Top Bottom