This is web page shows the following techniques in
apache 2.04 web server installed in windows XP Home that has been configured
to hold dot net pages.
|
Step 1
|
step:2
|
step:3 Save with *something.master extension as shown
below. The folder is under a root that has been configured in apache 2.04
server enabled with asp net modules.
|
step:4 Note the Master file is created. |
step:5 However, the folder content in IDE was still blank
|
step:6 Now click on the file saved in the folder
The master page opens up. |
Step:7 Now when we go back to file menu, we will note that
we have one more option at the menu level as well as page page as shown in
the images below.
|
Step:8 You may choose either of these option to create a
content page. You may come across this panel to choose a master page.
|
step:9 Browse to the master file
|
Step:10 Note the path shown |
step:11Save the page as |
step:12: change the title of the page
|
step:13 If you type some thing that will be created on the
content page
You can't edit the actual content, as content is a virtual page of the master. |
step:14 Now if like to view over the internet, the master
page is not viewable.
But the content page is viewable However, this master page is not my root folder. I chose this setup to demonstrate that within a web site you may have option to use a create a profile or template like a Dynamic web template with your choice of design or requirement. It can't be viewed |
step:15 The content page is managed via master page,
whatever you write on Master will be reflected in Content page.
|
step:16. Make default page in apache 2.04 server: We like
this content page should open in apache as default, now create a page using
master page, and named it as index.aspx, as index page would open as default
as configured with this web server,
http://manas8x/my_aspnet/master_content/ will open index.aspx and
display the contents.
Note there is no error 404, however php extension are not recognized as it is an aspx page. |
step:17; I noted a connection break when a folder is while
saving from different application
Notice this folder is not updated
|
Step:18 I closed current Expression web IDE, and reopened by
clicking on the master file.
Note the folder is php_aspnet is accessible.
|
step:19 Creating a link from master page to another page
|
step:20 View in a browser, note the link is created
Note that all the php commands are working |