Apacheサ
エラ
エラ
SELECT * FROM sqlite_master WHERE type='table' OR type='view' ORDER BY name;
デ
問題をややこしくしたのは
SELECT * FROM sqlite_master WHERE type='table' ORDER BY name;
だとか
SELECT * FROM sqlite_master WHERE type='view';
でも同じエラ
SELECT * FROM sqlite_master WHERE type='table';
だとエラ
結論から言うと SQL文は悪くない。
Apacheを SYSTEMアカウントで動かすとエラ
デ
SysInternalsの FileMonを使
sqlite-3.3.4の os_win.cに
char *sqlite3WinFullPathname(const char *zRelative)
という関数があり、Cygwinや WINCE以外の WINDOWSプラ
GetFullPathNameW/A
という APIが呼ばれている。おそらくこの APIが "C:\WINDOWS\sqlite_XXXXXXX" というパスの出所だろう。
ここをいじ
"%TEMP%\sqlite_XXXXXXX" => "%USERPROFILE%\Local Settings\Temp\sqlite_XXXXXXX => "C:\Documents and Settings\HTTPD\Local Settings\Temp\sqlite_XXXXXXX"
上のような Tempデ
sqlite3-rubyでは
db = SQLite3::Database.new('hoge.db'); db.temp_store = 2; # 2=memory, 1=file
SQLでなら
PRAGMA temp_store = MEMORY;
(参照) Pragma statements supported by SQLite
SQLの方は試してないけど、sqlite3-rubyの方で対処したところエラ
エラ
PRAGMA temp_store_directory;
PRAGMA temp_store_directory = 'directory-name';
Query or change the setting of the "temp_store_directory" - the directory where files used for storing temporary tables and indices are kept. This setting lasts for the duration of the current connection only and resets to its default value for each new connection opened.
When the temp_store_directory setting is changed, all existing temporary tables, indices, triggers, and viewers are immediately deleted. In practice, temp_store_directory should be set immediately after the database is opened.
The value directory-name should be enclosed in single quotes. To revert the directory to the default, set the directory-name to an empty string, e.g., PRAGMA temp_store_directory = ''. An error is raised if directory-name is not found or is not writable.
The default directory for temporary files depends on the OS. For Unix/Linux/OSX, the default is the is the first writable directory found in the list of: /var/tmp, /usr/tmp, /tmp, and current-directory. For Windows NT, the default directory is determined by Windows, generally C:\Documents and Settings\user-name\Local Settings\Temp\. Temporary files created by SQLite are unlinked immediately after opening, so that the operating system can automatically delete the files when the SQLite process exits. Thus, temporary files are not normally visible through ls or dir commands.
%TEMP%フWindowsのせい?俺のせいでした。
httpd.confに次の行を加えるべし。
PassEnv TEMP
確かに、確かに萌えが存在している。ギ
http://www5a.biglobe.ne.jp/~dai_/diary/diary0602.htm#05 (DAIさん帝国)
標準シ
これにチ
こういう状況で C:\Data Files\HOGE.ZIP を解凍(エクスプロ
比較のために C:\Documents and Settings\UserName\デスクト
さらに試すと、Data Files\HOGE.ZIP の展開先をデスクト
総合すると、別の HDDがマウントされているフ
違
結局のところ、ウ
* `dir`によると<DIR>ではなく<JUNCTION>
フ
今度は WebDAVを使
ダウンロ
以前 Apacheをコンパイルしようとして apr, apr-iconv, apr-utilとい
Apacheの設定は簡単。モジ
http://localhost, http://localhost/~user/, http://localhost/svn/の表示に成功。詰ま
せ
mod_sslの設定は右を参照。The Apache + SSL on Win32 HOWTO
公開の目的は不特定多数の人間にアクセス/攻撃してもらうためでなく、ネ
XP Home Editionでそういうことをやろうと思
Home Editionは関係なか
とりあえず HTTPDというユ
ntrights -u HTTPD +r SeServiceLogonRight
とする。パスワ
(以下、ぼやき) Home Editionだから
もう少し下位のレベルでと思