Toon posts:

Subdomein .cjb.net. in .htaccess*

Pagina: 1
Acties:

Verwijderd

Topicstarter
hallo allemaal,

ik heb zelf een server opgezet(phptraid)

maar als ik een htacces file scrijf met bv. een error script erin doet ie dat wel maar zodra ik het volgende script er in doe:


---------------------------------------------------------------------------------------

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} members.free-website.cjb.net
RewriteCond %{REQUEST_URI} !usr/
RewriteRule ^(.*)$ usr/$1 [L]


---------------------------------------------------------------------------------------
geeft ie dit aan:
---------------------------------------------------------------------------------------

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
---------------------------------------------------------------------------------------
als ik dan in het error file kijk zie ik dit staan:

---------------------------------------------------------------------------------------
[Sat Apr 17 13:54:30 2004] [alert] [client 217.122.185.95] c:/server/www/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration

---------------------------------------------------------------------------------------
hoe kan ik dit configueeren???
en kan ik wel eens een subdomein kan draaien met een cjb.net acount?

groetjes maikel en alvast bedankt B)

  • Tjark
  • Registratie: Juni 2000
  • Laatst online: 08:08

Tjark

DON'T PANIC

probeer eens:

If you are trying to debug your virtual host configuration, you may find the Apache -S command line switch useful. That is, type the following command:

/usr/local/apache2/bin/httpd -S

This command will dump out a description of how Apache parsed the configuration file. Careful examination of the IP addresses and server names may help uncover configuration mistakes. (See the docs for the httpd program for other command line options)

en ipv /usr/local/apache2/bin/ natuurlijk de dir waar je httpd conf staat.

*insert signature here


Verwijderd

je kunt geen subdomains aanmaken met een cjb.net account, dus het heeft weinig zin om te proberen subdomains te maken.

edit: aangepast en begin gedelete maar had ook gereageerd op de ts : ) gaf alleen aan dat hij ook de faqs moest doorlezen

[ Voor 91% gewijzigd door Verwijderd op 17-04-2004 14:20 ]


  • Buzz_Lightyear
  • Registratie: Maart 2002
  • Laatst online: 20-05 15:25

Buzz_Lightyear

To infinity and beyond!

Verwijderd schreef op 17 april 2004 @ 14:12:
lees even de faqs door want je begaat een aantal fouten, zoals help in de topic, groeten in je topic, geen gebruik van de search, niet aangeven wat je hebt gedaan enz, magoed... dat vertellen de mods je wel zo...
offtopic:
laat zoiets dan weg, dat doen de MOD's wel :X ...reageer liever op de vraag van de TS
edit:
the guy is new, give him a break

[ Voor 8% gewijzigd door Buzz_Lightyear op 17-04-2004 14:17 ]

An Explanation of l33t Speak


Verwijderd

Omdat je nieuw bent ontzie ik je topic van een slot, maar lees dit even door: http://gathering.tweakers.net/forum/faq en bekijk de sticky-topics bovenaan Network Troubleshooting even, waaronder Help Help!!!!!!!