I have gone to find myself, if I get back before I return, Please keep me here! PSNID: djmagich
En wat staat er in je Apache logs over de opgevraagde pagina's.
Verder geef je weinig informatie. Welke versie van Apache en PHP? Welk OS? Stukken log?
Verder heb ik ook niet het idee dat je eigen onderzoek hebt gedaan alvorens hier een topic te openen.
The NS has launched a new space transportation service, using German trains which were upgraded into spaceships.
Want een 404 is natuurlijk iets anders dan 403 of zelfs 500
ga ik via http://127.0.0.1/forum/index.php krijg ik
Not Found
The requested URL /php/php.exe/(waar haalt ie dit weg!?)Forum/index.php was not found on this server.
--------------------------------------------------------------------------------
Apache/2.0.49 (Win32) Server at 127.0.0.1 Port 80
PHP Version: 4
MySQL Server 2.0
OS: XP
httpd.conf heb ik ingesteld naar de juiste dingen
Stukje error log:
[Thu Aug 19 23:44:41 2004] [error] [client 192.168.0.2] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://djmagich/menu1.htm
[Thu Aug 19 23:45:01 2004] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://127.0.0.1/menu1.htm
[Thu Aug 19 23:46:40 2004] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://127.0.0.1/menu1.htm
[Thu Aug 19 23:46:42 2004] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/version
[Thu Aug 19 23:46:46 2004] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php
[Thu Aug 19 23:47:34 2004] [error] [client 192.168.0.2] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://djmagich/menu1.htm
[Thu Aug 19 23:47:41 2004] [error] [client 192.168.0.2] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://djmagich/menu1.htm
[Thu Aug 19 23:47:50 2004] [error] [client 192.168.0.2] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://djmagich/forum/
[Thu Aug 19 23:51:57 2004] [error] [client 192.168.0.2] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://djmagich/forum/
[Thu Aug 19 23:52:00 2004] [error] [client 192.168.0.2] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://djmagich/forum/
[Thu Aug 19 23:52:39 2004] [error] [client 192.168.0.2] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/php, referer: http://djmagich/menu1.htm
[ Voor 11% gewijzigd door HarryL op 19-08-2004 23:58 ]
I have gone to find myself, if I get back before I return, Please keep me here! PSNID: djmagich
Bekijk bijvoorbeeld eens [rml][ Howto] Apache, PHP, MySQL, .htaccess & Virtual Hosts[/rml], misschien dat je er nog iets aan hebt
Hij pakt op de 1 of andere manier gewoon mijn PHP documenten niet...
I have gone to find myself, if I get back before I return, Please keep me here! PSNID: djmagich
The NS has launched a new space transportation service, using German trains which were upgraded into spaceships.
Tux schreef op 20 augustus 2004 @ 00:13:
ScriptAlias /php/ "c:/php/" toevoegen aan je httpd.conf
I have gone to find myself, if I get back before I return, Please keep me here! PSNID: djmagich
I have gone to find myself, if I get back before I return, Please keep me here! PSNID: djmagich
Voordat we nog verder van het onderwerp afstappen, post je httpd.conf eens hier. Zet er dan ook bij waar je php.exe staat.DjMaGiCh schreef op 20 augustus 2004 @ 00:42:
yep dat heb ik gedaan, ik zal nog maals proberen alles opnieuw te installeren met andere versies (reeds 3 keer gedaan) kijken of het dan wel werkt...
Mijn httpd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
| ServerRoot "C:/Program Files/Apache Group/Apache2"
#ScoreBoardFile logs/apache_runtime_status
PidFile logs/httpd.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
Listen 80
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
ServerName djmagich:80
UseCanonicalName Off
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
UserDir "My Documents/My Website"
DirectoryIndex index.html index.html.var index.php
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz
ReadmeName README.html
HeaderName HEADER.html
ScriptAlias /php4/ "C:/php/"
ScriptAlias /php/ "c:/php/"
AddType Application/x-httpd-php4 .php
Action application/x-httpd-php4 "/php/php.exe" |
[ Voor 91% gewijzigd door leon1e op 20-08-2004 09:48 . Reden: Code added + config iets korter gemaakt :) ]
I have gone to find myself, if I get back before I return, Please keep me here! PSNID: djmagich
De laatste regel:
Action application/x-httpd-php4 "/php/php.exe"
Moet dat niet zijn:
Action application/x-httpd-php4 "c:/php/php.exe"
[ Voor 19% gewijzigd door xander88 op 20-08-2004 09:55 ]
Notice: Undefined index: mws_lang in C:\Program Files\Apache Group\Apache2\htdocs\miniwebshop\cfunc.php on line 257
Notice: Undefined index: mws_lang in C:\Program Files\Apache Group\Apache2\htdocs\miniwebshop\cfunc.php on line 257
Maar dit zal ongetwijveld ook op te lossen zijn
I have gone to find myself, if I get back before I return, Please keep me here! PSNID: djmagich
dat zijn gewoon fouten in je php scriptDjMaGiCh schreef op 20 augustus 2004 @ 10:13:
Het werkt nu half, Krijg nu nog wat errors als:
Notice: Undefined index: mws_lang in C:\Program Files\Apache Group\Apache2\htdocs\miniwebshop\cfunc.php on line 257
Notice: Undefined index: mws_lang in C:\Program Files\Apache Group\Apache2\htdocs\miniwebshop\cfunc.php on line 257
Maar dit zal ongetwijveld ook op te lossen zijn
Die moet ik nog ff uitpluizen (ik als beginnend phper)
I have gone to find myself, if I get back before I return, Please keep me here! PSNID: djmagich